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-expr.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source/slang/slang-ast-expr.h') diff --git a/source/slang/slang-ast-expr.h b/source/slang/slang-ast-expr.h index 31e3869d3..6bec297a4 100644 --- a/source/slang/slang-ast-expr.h +++ b/source/slang/slang-ast-expr.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 expressions. // Base class for expressions that will reference declarations @@ -305,7 +302,4 @@ class ThisTypeExpr: public Expr RefPtr scope; }; -#undef SLANG_ABSTRACT_CLASS -#undef SLANG_CLASS - } // namespace Slang -- cgit v1.2.3