[cfe-commits] r39507 - /cfe/cfe/trunk/AST/StmtPrinter.cpp

clattner at cs.uiuc.edu clattner at cs.uiuc.edu
Wed Jul 11 09:45:06 PDT 2007


Author: clattner
Date: Wed Jul 11 11:45:05 2007
New Revision: 39507

URL: http://llvm.org/viewvc/llvm-project?rev=39507&view=rev
Log:
Null pointers in the ast are no longer considered to be the null stmt.

Modified:
    cfe/cfe/trunk/AST/StmtPrinter.cpp

Modified: cfe/cfe/trunk/AST/StmtPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/AST/StmtPrinter.cpp?rev=39507&r1=39506&r2=39507&view=diff

==============================================================================
--- cfe/cfe/trunk/AST/StmtPrinter.cpp (original)
+++ cfe/cfe/trunk/AST/StmtPrinter.cpp Wed Jul 11 11:45:05 2007
@@ -59,7 +59,7 @@
       } else if (S) {
         S->visit(*this);
       } else {
-        Indent() << ";\n";
+        Indent() << "<<<NULL STATEMENT>>>\n";
       }
       IndentLevel -= SubIndent;
     }





More information about the cfe-commits mailing list