aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-10-08 21:29:50 +0000
committerDouglas Gregor <dgregor@apple.com>2009-10-08 21:29:50 +0000
commitb46f57d9daa0c30d79dc8149d30c3e3a12fe2b32 (patch)
tree80386c14f6e71cbbf25fe1f2343b5b771aed976a
parente23429269f9cd86d6fed25432763fad520eb7f82 (diff)
Fix an assertion in the XML output, from Olaf Krzikalla!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83576 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Frontend/StmtXML.def3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Frontend/StmtXML.def b/include/clang/Frontend/StmtXML.def
index 26430f740d..fd79cf0c6c 100644
--- a/include/clang/Frontend/StmtXML.def
+++ b/include/clang/Frontend/StmtXML.def
@@ -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