summaryrefslogtreecommitdiff
path: root/source/slang/ast-legalize.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/ast-legalize.cpp')
-rw-r--r--source/slang/ast-legalize.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/slang/ast-legalize.cpp b/source/slang/ast-legalize.cpp
index 996a66eac..5df6b80f5 100644
--- a/source/slang/ast-legalize.cpp
+++ b/source/slang/ast-legalize.cpp
@@ -5091,6 +5091,14 @@ struct FindIRDeclUsedByASTVisitor
// TODO: need to walk the lookup result too
}
+ void visitOverloadedExpr2(OverloadedExpr2* expr)
+ {
+ walkExpr(expr->base);
+ for (auto & candidate : expr->candidiateExprs)
+ walkExpr(candidate);
+ }
+
+
void visitConstantExpr(ConstantExpr*)
{}