[cfe-commits] r41011 - /cfe/trunk/AST/StmtDumper.cpp

Chris Lattner sabre at nondot.org
Fri Aug 10 14:51:13 PDT 2007


Author: lattner
Date: Fri Aug 10 16:51:12 2007
New Revision: 41011

URL: http://llvm.org/viewvc/llvm-project?rev=41011&view=rev
Log:
make sure to add a newline at the end of the dump


Modified:
    cfe/trunk/AST/StmtDumper.cpp

Modified: cfe/trunk/AST/StmtDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/AST/StmtDumper.cpp?rev=41011&r1=41010&r2=41011&view=diff

==============================================================================
--- cfe/trunk/AST/StmtDumper.cpp (original)
+++ cfe/trunk/AST/StmtDumper.cpp Fri Aug 10 16:51:12 2007
@@ -503,10 +503,12 @@
 void Stmt::dump() const {
   StmtDumper P(stderr, 4);
   const_cast<Stmt*>(this)->visit(P);
+  fprintf(stderr, "\n");
 }
 
 /// dumpAll - This does a dump of the specified AST fragment and all subtrees.
 void Stmt::dumpAll() const {
   StmtDumper P(stderr, ~0U);
   const_cast<Stmt*>(this)->visit(P);
+  fprintf(stderr, "\n");
 }





More information about the cfe-commits mailing list