commit | a9ba5ccd88ed3ec3342603f9d5f5650691f239d1 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Tue Feb 26 02:37:08 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Tue Feb 26 02:37:08 2008 +0000 |
tree | 842a989ea980572b90de66bfa2efbdc715ba79dd | |
parent | ef0007f55dd270b4db49b38d27e525ec3bcb9137 [diff] [blame] |
Do include ParenExpr in the CFG; only include their subexpression. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47588 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/CFG.cpp b/AST/CFG.cpp index 18c2074..335d833 100644 --- a/AST/CFG.cpp +++ b/AST/CFG.cpp
@@ -375,6 +375,9 @@ break; } + + case Stmt::ParenExprClass: + return WalkAST(cast<ParenExpr>(S)->getSubExpr(), AlwaysAddStmt); default: break;