[cfe-commits] r83576 - /cfe/trunk/include/clang/Frontend/StmtXML.def

Douglas Gregor dgregor at apple.com
Thu Oct 8 14:29:51 PDT 2009


Author: dgregor
Date: Thu Oct  8 16:29:50 2009
New Revision: 83576

URL: http://llvm.org/viewvc/llvm-project?rev=83576&view=rev
Log:
Fix an assertion in the XML output, from Olaf Krzikalla!

Modified:
    cfe/trunk/include/clang/Frontend/StmtXML.def

Modified: cfe/trunk/include/clang/Frontend/StmtXML.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/StmtXML.def?rev=83576&r1=83575&r2=83576&view=diff

==============================================================================
--- cfe/trunk/include/clang/Frontend/StmtXML.def (original)
+++ cfe/trunk/include/clang/Frontend/StmtXML.def Thu Oct  8 16:29:50 2009
@@ -78,6 +78,9 @@
 #  define CONTEXT_ATTRIBUTE_XML( FN )  ATTRIBUTE_XML(FN, "context")
 #endif
 
+NODE_XML(Stmt, "Stmt_Unsupported")                    // fallback for unsupproted statements
+  ATTRIBUTE_FILE_LOCATION_XML
+END_NODE_XML
 
 NODE_XML(NullStmt, "NullStmt")
   ATTRIBUTE_FILE_LOCATION_XML





More information about the cfe-commits mailing list