summaryrefslogtreecommitdiff
path: root/source/slang/slang-syntax.cpp
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2020-05-29 14:26:48 -0400
committerGitHub <noreply@github.com>2020-05-29 14:26:48 -0400
commit9773495f1ab8a11194a21e1cf7b141c3da5cdfce (patch)
tree67031b547c61fba8553aee44b627b05eeeb4c4ee /source/slang/slang-syntax.cpp
parent45e414f9298d9fae339ff61a959f30b0529c41b9 (diff)
NodeBase types constructed with astNodeType member set (#1363)
* Maked Substituions derived from NodeBase * * Add astNodeTYpe field to NodeBase * Make Substitutions derived from NodeBase * Make all construction through ASTBuilder * Make getClassInfo non virtual (just uses the astNodeType)
Diffstat (limited to 'source/slang/slang-syntax.cpp')
-rw-r--r--source/slang/slang-syntax.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-syntax.cpp b/source/slang/slang-syntax.cpp
index e7876fa04..1b96aec98 100644
--- a/source/slang/slang-syntax.cpp
+++ b/source/slang/slang-syntax.cpp
@@ -827,7 +827,7 @@ Index getFilterCountImpl(const ReflectClassInfo& clsInfo, MemberFilterStyle filt
SLANG_UNEXPECTED("unhandled type");
}
- RefPtr<RefObject> type = classInfo.createInstance();
+ RefPtr<RefObject> type = classInfo.createInstance(astBuilder);
if (!type)
{
SLANG_UNEXPECTED("constructor failure");