summaryrefslogtreecommitdiffstats
path: root/clang
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
commit3d954d5d0ef750aad1bb718bda6954629b56c356 (patch)
tree2bbe185e618339b9e79d82c140c8802f7b1095a1 /clang
parent4c0cd856b1470b93ab415049c9fe6c66b7a962eb (diff)
downloadbcm5719-llvm-3d954d5d0ef750aad1bb718bda6954629b56c356.tar.gz
bcm5719-llvm-3d954d5d0ef750aad1bb718bda6954629b56c356.zip
simplify
llvm-svn: 68000
Diffstat (limited to 'clang')
-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