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-modifier.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-modifier.h')
| -rw-r--r-- | source/slang/slang-ast-modifier.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/slang/slang-ast-modifier.h b/source/slang/slang-ast-modifier.h index 440575171..6145c9192 100644 --- a/source/slang/slang-ast-modifier.h +++ b/source/slang/slang-ast-modifier.h @@ -6,9 +6,6 @@ namespace Slang { -#define SLANG_ABSTRACT_CLASS(x) SLANG_ABSTRACT_CLASS_REFLECT(x) -#define SLANG_CLASS(x) SLANG_CLASS_REFLECT_WITH_ACCEPT(x) - // Syntax class definitions for modifiers. // Simple modifiers have no state beyond their identity @@ -876,8 +873,4 @@ class UnsafeForceInlineEarlyAttribute : public Attribute SLANG_CLASS(UnsafeForceInlineEarlyAttribute) }; - -#undef SLANG_ABSTRACT_CLASS -#undef SLANG_CLASS - } // namespace Slang |
