diff options
| author | Yong He <yonghe@outlook.com> | 2018-01-18 12:49:59 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-01-18 12:49:59 -0800 |
| commit | 2079b941bc5849b6ab33774fb90cefe9c2d624cb (patch) | |
| tree | 6bba14a93d90a251c4e2f75381ddf71ea9a3bbca /source/slang/ast-legalize.cpp | |
| parent | 68f529af8d0eb8ec45a2d73e82c4ee372015ce01 (diff) | |
| parent | 9eb8b4e187e8b4fc5394668d476ada0512ae4ccc (diff) | |
Merge pull request #371 from csyonghe/master
All compiler fixes to get ir branch work with falcor feature demo.
Diffstat (limited to 'source/slang/ast-legalize.cpp')
| -rw-r--r-- | source/slang/ast-legalize.cpp | 8 |
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*) {} |
