diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2020-05-14 18:28:50 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-14 18:28:50 -0400 |
| commit | d41f5d460f64c21dda45bdce24de77984d91c8bb (patch) | |
| tree | 0ac07c03a9a3e72259123ba846d3d1ea08ddb040 /source/slang/slang-ast-base.h | |
| parent | daaae74294fdc5b0edee4f7c688756bbc4b62ed9 (diff) | |
Change to make a single implementation of SLANG_ABSTRACT_CLASS and SLANG_CLASS, to simplify macro injection and not require macro redefinition in each file. (#1345)
Diffstat (limited to 'source/slang/slang-ast-base.h')
| -rw-r--r-- | source/slang/slang-ast-base.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/slang/slang-ast-base.h b/source/slang/slang-ast-base.h index ee044eae3..1175f0288 100644 --- a/source/slang/slang-ast-base.h +++ b/source/slang/slang-ast-base.h @@ -14,10 +14,6 @@ namespace Slang { -#define SLANG_ABSTRACT_CLASS(x) SLANG_ABSTRACT_CLASS_REFLECT(x) -// We don't use SLANG_CLASS_REFLECT_WITH_ACCEPT(x), as we don't want accept method on these classes -#define SLANG_CLASS(x) SLANG_CLASS_REFLECT_DEFAULT(x) - // Signals to C++ extractor that RefObject is a base class, that isn't reflected to C++ extractor SLANG_REFLECT_BASE_CLASS(RefObject) @@ -363,8 +359,4 @@ class Stmt : public ModifiableSyntaxNode virtual void accept(IStmtVisitor* visitor, void* extra) = 0; }; -#undef SLANG_ABSTRACT_CLASS -#undef SLANG_CLASS - - } // namespace Slang |
