summaryrefslogtreecommitdiffstats
path: root/source/slang/compiler.h
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2019-02-05 16:47:37 -0800
committerGitHub <noreply@github.com>2019-02-05 16:47:37 -0800
commit13d7e34d8be4316c59bd3d00a1e5526215db6fa4 (patch)
tree1a774f323300e72ca2ae66db2d883491f0790d39 /source/slang/compiler.h
parent43950e2b2f2b1109fe25e67fc678272af6dfb7ef (diff)
parent60cc9f24c4bec54561bea873ee943aa3d0973dc2 (diff)
Merge branch 'master' into fix-nested-type-conformances
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;