From ee41ce53f7017591a9d62d5986cf3fd6fc98a120 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 10 Aug 2007 21:51:12 +0000 Subject: [PATCH] make sure to add a newline at the end of the dump git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41011 91177308-0d34-0410-b5e6-96231b3b80d8 --- AST/StmtDumper.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AST/StmtDumper.cpp b/AST/StmtDumper.cpp index 0a41e162a6..9f82b0e647 100644 --- a/AST/StmtDumper.cpp +++ b/AST/StmtDumper.cpp @@ -503,10 +503,12 @@ void StmtDumper::VisitCXXBoolLiteralExpr(CXXBoolLiteralExpr *Node) { void Stmt::dump() const { StmtDumper P(stderr, 4); const_cast(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(this)->visit(P); + fprintf(stderr, "\n"); } -- 2.50.1