diff options
Diffstat (limited to 'src/expr-visitor.cc')
-rw-r--r-- | src/expr-visitor.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/expr-visitor.cc b/src/expr-visitor.cc index 85255523..b76cc786 100644 --- a/src/expr-visitor.cc +++ b/src/expr-visitor.cc @@ -189,6 +189,10 @@ Result ExprVisitor::VisitExpr(Expr* expr) { CHECK_RESULT(delegate_->OnUnaryExpr(cast<UnaryExpr>(expr))); break; + case ExprType::Ternary: + CHECK_RESULT(delegate_->OnTernaryExpr(cast<TernaryExpr>(expr))); + break; + case ExprType::Unreachable: CHECK_RESULT(delegate_->OnUnreachableExpr(cast<UnreachableExpr>(expr))); break; |