aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AST/CFG.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/AST/CFG.cpp b/AST/CFG.cpp
index 18c2074b40..335d833e26 100644
--- a/AST/CFG.cpp
+++ b/AST/CFG.cpp
@@ -375,6 +375,9 @@ CFGBlock* CFGBuilder::WalkAST(Stmt* S, bool AlwaysAddStmt = false) {
break;
}
+
+ case Stmt::ParenExprClass:
+ return WalkAST(cast<ParenExpr>(S)->getSubExpr(), AlwaysAddStmt);
default:
break;