Do include ParenExpr in the CFG; only include their subexpression.

llvm-svn: 47588
This commit is contained in:
Ted Kremenek 2008-02-26 02:37:08 +00:00
parent ccc0c996a4
commit 5affb58dd6
1 changed files with 3 additions and 0 deletions

View File

@ -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;