aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-29 16:04:50 +0000
committerChris Lattner <sabre@nondot.org>2009-03-29 16:04:50 +0000
commitf279725f9772a8644957049971001f655b9041c9 (patch)
tree23a03951f8ec2aa6968fc5da05760446433c6dfc
parenta98458054d9004ad414a8518057f8ce08f23ae70 (diff)
simplify
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68000 91177308-0d34-0410-b5e6-96231b3b80d8
-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;
}