summaryrefslogtreecommitdiffstats
path: root/source/slang/check.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/check.cpp')
-rw-r--r--source/slang/check.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/slang/check.cpp b/source/slang/check.cpp
index 23394e107..9f7a13230 100644
--- a/source/slang/check.cpp
+++ b/source/slang/check.cpp
@@ -1197,6 +1197,11 @@ namespace Slang
return constIntVal;
}
+ void visitSyntaxDecl(SyntaxDecl*)
+ {
+ // These are only used in the stdlib, so no checking is needed
+ }
+
void visitModifierDecl(ModifierDecl*)
{
// These are only used in the stdlib, so no checking is needed