summaryrefslogtreecommitdiffstats
path: root/source/slang/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/compiler.h')
-rw-r--r--source/slang/compiler.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/slang/compiler.h b/source/slang/compiler.h
index 9e8f146b9..39199a62f 100644
--- a/source/slang/compiler.h
+++ b/source/slang/compiler.h
@@ -152,7 +152,11 @@ namespace Slang
// This will be filled in as part of semantic analysis;
// it should not be assumed to be available in cases
// where any errors were diagnosed.
- RefPtr<FuncDecl> decl;
+ //
+ DeclRef<FuncDecl> funcDeclRef;
+
+ DeclRef<FuncDecl> getFuncDeclRef();
+ RefPtr<FuncDecl> getFuncDecl();
RefPtr<Substitutions> globalGenericSubst;