summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-05-07 20:45:29 +0000
committerChris Lattner <sabre@nondot.org>2010-05-07 20:45:29 +0000
commite979e30501284c32bc60f647e238f283f17d12e1 (patch)
tree8d7d14adcf219047437447069bbfb61c449d5104
parent37c220c8ed4d75ad42e5725aa1dcc7f90ca9f489 (diff)
downloadbcm5719-llvm-e979e30501284c32bc60f647e238f283f17d12e1.tar.gz
bcm5719-llvm-e979e30501284c32bc60f647e238f283f17d12e1.zip
add more types to -ast-print-xml, PR5006
llvm-svn: 103294
-rw-r--r--clang/include/clang/Frontend/TypeXML.def32
1 files changed, 32 insertions, 0 deletions
diff --git a/clang/include/clang/Frontend/TypeXML.def b/clang/include/clang/Frontend/TypeXML.def
index 3add99a941c..3845f32bf2d 100644
--- a/clang/include/clang/Frontend/TypeXML.def
+++ b/clang/include/clang/Frontend/TypeXML.def
@@ -214,6 +214,15 @@ NODE_XML(RecordType, "Record")
CONTEXT_ATTRIBUTE_XML(getDecl()->getDeclContext())
END_NODE_XML
+NODE_XML(ElaboratedType, "Elaborated")
+ ID_ATTRIBUTE_XML
+ ATTRIBUTE_ENUM_XML(getTagKind(), "kind")
+ ENUM_XML(ElaboratedType::TK_struct, "struct")
+ ENUM_XML(ElaboratedType::TK_union, "union")
+ ENUM_XML(ElaboratedType::TK_class, "class")
+ END_ENUM_XML
+END_NODE_XML
+
NODE_XML(EnumType, "Enum")
ID_ATTRIBUTE_XML
ATTRIBUTE_XML(getDecl()->getNameAsString(), "name") // string
@@ -245,6 +254,29 @@ NODE_XML(ObjCObjectPointerType, "ObjCObjectPointerType")
ID_ATTRIBUTE_XML
END_NODE_XML
+NODE_XML(SubstTemplateTypeParmType, "SubstTemplateTypeParm")
+ ID_ATTRIBUTE_XML
+END_NODE_XML
+
+NODE_XML(DependentSizedExtVectorType, "DependentSizedExtVector")
+ ID_ATTRIBUTE_XML
+END_NODE_XML
+
+NODE_XML(UnresolvedUsingType, "UnresolvedUsing")
+ ID_ATTRIBUTE_XML
+END_NODE_XML
+
+NODE_XML(DependentTypeOfExprType, "DependentTypeOfExpr")
+ ID_ATTRIBUTE_XML
+END_NODE_XML
+
+NODE_XML(DecltypeType, "Decltype")
+ ID_ATTRIBUTE_XML
+END_NODE_XML
+
+NODE_XML(DependentDecltypeType, "DependentDecltype")
+ ID_ATTRIBUTE_XML
+END_NODE_XML
//===----------------------------------------------------------------------===//
#undef NODE_XML
OpenPOWER on IntegriCloud