summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtDumper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/AST/StmtDumper.cpp')
-rw-r--r--clang/lib/AST/StmtDumper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/StmtDumper.cpp b/clang/lib/AST/StmtDumper.cpp
index 358098eace7..fa3b40cebcd 100644
--- a/clang/lib/AST/StmtDumper.cpp
+++ b/clang/lib/AST/StmtDumper.cpp
@@ -271,7 +271,7 @@ void StmtDumper::VisitDeclStmt(DeclStmt *Node) {
Indent();
fprintf(F, "%p ", (void*) D);
DumpDeclarator(D);
- if (D->getNextDeclarator())
+ if (DI+1 != DE)
fprintf(F,"\n");
--IndentLevel;
}
OpenPOWER on IntegriCloud