[cfe-commits] r47588 - /cfe/trunk/AST/CFG.cpp
Ted Kremenek
kremenek at apple.com
Mon Feb 25 18:37:08 PST 2008
Author: kremenek
Date: Mon Feb 25 20:37:08 2008
New Revision: 47588
URL: http://llvm.org/viewvc/llvm-project?rev=47588&view=rev
Log:
Do include ParenExpr in the CFG; only include their subexpression.
Modified:
cfe/trunk/AST/CFG.cpp
Modified: cfe/trunk/AST/CFG.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/AST/CFG.cpp?rev=47588&r1=47587&r2=47588&view=diff
==============================================================================
--- cfe/trunk/AST/CFG.cpp (original)
+++ cfe/trunk/AST/CFG.cpp Mon Feb 25 20:37:08 2008
@@ -375,6 +375,9 @@
break;
}
+
+ case Stmt::ParenExprClass:
+ return WalkAST(cast<ParenExpr>(S)->getSubExpr(), AlwaysAddStmt);
default:
break;
More information about the cfe-commits
mailing list