summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-ast-decl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ast-decl.cpp')
-rw-r--r--source/slang/slang-ast-decl.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/source/slang/slang-ast-decl.cpp b/source/slang/slang-ast-decl.cpp
new file mode 100644
index 000000000..a10411ebb
--- /dev/null
+++ b/source/slang/slang-ast-decl.cpp
@@ -0,0 +1,21 @@
+// slang-ast-decl.cpp
+#include "slang-ast-builder.h"
+#include <assert.h>
+
+#include "slang-ast-generated-macro.h"
+
+namespace Slang {
+
+const TypeExp& TypeConstraintDecl::getSup() const
+{
+ SLANG_AST_NODE_CONST_VIRTUAL_CALL(TypeConstraintDecl, getSup, ())
+}
+
+const TypeExp& TypeConstraintDecl::_getSupOverride() const
+{
+ SLANG_UNEXPECTED("TypeConstraintDecl::_getSupOverride not overridden");
+ //return TypeExp::empty;
+}
+
+
+} // namespace Slang