forked from OSchip/llvm-project
Do include ParenExpr in the CFG; only include their subexpression.
llvm-svn: 47588
This commit is contained in:
parent
ccc0c996a4
commit
5affb58dd6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue