]> granicus.if.org Git - clang/commitdiff
simplify
authorChris Lattner <sabre@nondot.org>
Sun, 29 Mar 2009 16:04:50 +0000 (16:04 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 29 Mar 2009 16:04:50 +0000 (16:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68000 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/StmtDumper.cpp

index 358098eace72a300a0331d70213fa024f3f803b1..fa3b40cebcded1137194fbaed25f5856363aa81f 100644 (file)
@@ -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;
   }