]> granicus.if.org Git - clang/commitdiff
make sure to add a newline at the end of the dump
authorChris Lattner <sabre@nondot.org>
Fri, 10 Aug 2007 21:51:12 +0000 (21:51 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 10 Aug 2007 21:51:12 +0000 (21:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41011 91177308-0d34-0410-b5e6-96231b3b80d8

AST/StmtDumper.cpp

index 0a41e162a67f3a6578e58f8547889623d62b06d5..9f82b0e64753bc9cbee6101d533e6cc410cc416f 100644 (file)
@@ -503,10 +503,12 @@ void StmtDumper::VisitCXXBoolLiteralExpr(CXXBoolLiteralExpr *Node) {
 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");
 }