[cfe-commits] r43469 - /cfe/trunk/AST/CFG.cpp
Ted Kremenek
kremenek at apple.com
Mon Oct 29 13:41:05 PDT 2007
Author: kremenek
Date: Mon Oct 29 15:41:04 2007
New Revision: 43469
URL: http://llvm.org/viewvc/llvm-project?rev=43469&view=rev
Log:
Modified CFG pretty-printing to directly use the (reverse) body
iterator of a CompountStmt instead of relying on StmtIterators.
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=43469&r1=43468&r2=43469&view=diff
==============================================================================
--- cfe/trunk/AST/CFG.cpp (original)
+++ cfe/trunk/AST/CFG.cpp Mon Oct 29 15:41:04 2007
@@ -1122,7 +1122,7 @@
if (Sub->child_begin() != Sub->child_end()) {
OS << "({ ... ; ";
- Helper->handledStmt(*SE->getSubStmt()->child_rbegin(),OS);
+ Helper->handledStmt(*SE->getSubStmt()->body_rbegin(),OS);
OS << " })\n";
return;
}
More information about the cfe-commits
mailing list