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-base.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-base.h')
| -rw-r--r-- | source/slang/slang-ast-base.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/slang/slang-ast-base.h b/source/slang/slang-ast-base.h index 522bdd817..b25c8a371 100644 --- a/source/slang/slang-ast-base.h +++ b/source/slang/slang-ast-base.h @@ -144,7 +144,8 @@ protected: virtual RefPtr<Type> CreateCanonicalType() = 0; Type* canonicalType = nullptr; - + + SLANG_UNREFLECTED Session* session = nullptr; }; |
