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
diff --git a/AST/StmtDumper.cpp b/AST/StmtDumper.cpp
index 0a41e16..9f82b0e 100644
--- a/AST/StmtDumper.cpp
+++ b/AST/StmtDumper.cpp
@@ -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");
}