diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2020-05-21 14:06:18 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-21 14:06:18 -0400 |
| commit | d90ae365210cdecdad7f66a7b2e3993df2cbb7d4 (patch) | |
| tree | 0f4f22e3aba89d5b0d148643893475353cf87d69 /source/slang/slang-ast-decl.h | |
| parent | 96a00c8e8d14964c8e1f45c7c3c85d321b2a1b61 (diff) | |
AST dump improvements (#1350)
* Add support for parsing array types to C++ extractor.
* C++ extractor looks for 'balanced tokens'. Use for extracting array suffixes.
* First pass at field dumping.
* Update project for field dumping.
* WIP AST Dumper.
* More AST dump compiling.
* Fix bug in StringSlicePool where it doesn't use the copy of the UnownedStringSlice in the map.
* Add support for SLANG_RELFECTED and SLANG_UNREFLECTED
More AST dump support.
* Support for hierarchical dumping/flat dumping.
Use SourceWriter to dump.
* Add -dump-ast command line option.
* Add fixes to VS project to incude AST dump.
* Fix compilation on gcc.
* Add fix for type ambiguity issue on x86 VS.
* Fixes from merge of reducing Token size.
* Fix comment about using SourceWriter.
* Improvement AST dumping around
* Pointers (write as hex)
* Scope
* Turn off some unneeded fields in AST hierarchy
* Only output the initial module in full.
Diffstat (limited to 'source/slang/slang-ast-decl.h')
| -rw-r--r-- | source/slang/slang-ast-decl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/slang/slang-ast-decl.h b/source/slang/slang-ast-decl.h index 069f1ac11..2385b6e23 100644 --- a/source/slang/slang-ast-decl.h +++ b/source/slang/slang-ast-decl.h @@ -34,6 +34,8 @@ class ContainerDecl: public Decl void invalidateMemberDictionary() { dictionaryLastCount = -1; } + SLANG_UNREFLECTED // We don't want to reflect the following fields + // Denotes how much of Members has been placed into the dictionary/transparentMembers. // If this value equals the Members.getCount(), the dictionary is completely full and valid. // If it's >= 0, then the Members after dictionaryLastCount are all that need to be added. |
