From d41f5d460f64c21dda45bdce24de77984d91c8bb Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Thu, 14 May 2020 18:28:50 -0400 Subject: 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) --- source/slang/slang-ast-modifier.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'source/slang/slang-ast-modifier.h') 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 -- cgit v1.2.3