[cfe-commits] r68000 - /cfe/trunk/lib/AST/StmtDumper.cpp

Chris Lattner sabre at nondot.org
Sun Mar 29 09:04:58 PDT 2009


Author: lattner
Date: Sun Mar 29 11:04:50 2009
New Revision: 68000

URL: http://llvm.org/viewvc/llvm-project?rev=68000&view=rev
Log:
simplify

Modified:
    cfe/trunk/lib/AST/StmtDumper.cpp

Modified: cfe/trunk/lib/AST/StmtDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/StmtDumper.cpp?rev=68000&r1=67999&r2=68000&view=diff

==============================================================================
--- cfe/trunk/lib/AST/StmtDumper.cpp (original)
+++ cfe/trunk/lib/AST/StmtDumper.cpp Sun Mar 29 11:04:50 2009
@@ -271,7 +271,7 @@
     Indent();
     fprintf(F, "%p ", (void*) D);
     DumpDeclarator(D);
-    if (D->getNextDeclarator())
+    if (DI+1 != DE)
       fprintf(F,"\n");
     --IndentLevel;
   }





More information about the cfe-commits mailing list