aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/AST/StmtDumper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/StmtDumper.cpp b/lib/AST/StmtDumper.cpp
index 358098eace..fa3b40cebc 100644
--- a/lib/AST/StmtDumper.cpp
+++ b/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;
}