[cfe-commits] r41659 - /cfe/trunk/AST/CFG.cpp
Ted Kremenek
kremenek at apple.com
Fri Aug 31 15:47:06 PDT 2007
Author: kremenek
Date: Fri Aug 31 17:47:06 2007
New Revision: 41659
URL: http://llvm.org/viewvc/llvm-project?rev=41659&view=rev
Log:
Fixed missing '(' and ')' characters in (CFG) pretty-printing of
statement expressions.
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=41659&r1=41658&r2=41659&view=diff
==============================================================================
--- cfe/trunk/AST/CFG.cpp (original)
+++ cfe/trunk/AST/CFG.cpp Fri Aug 31 17:47:06 2007
@@ -1060,9 +1060,9 @@
CompoundStmt* Sub = SE->getSubStmt();
if (Sub->child_begin() != Sub->child_end()) {
- OS << "{ ... ; ";
+ OS << "({ ... ; ";
Helper->handledStmt(*SE->getSubStmt()->child_rbegin(),OS);
- OS << " }\n";
+ OS << " })\n";
return;
}
}
More information about the cfe-commits
mailing list