[cfe-commits] r103294 - /cfe/trunk/include/clang/Frontend/TypeXML.def

Chris Lattner sabre at nondot.org
Fri May 7 13:45:29 PDT 2010


Author: lattner
Date: Fri May  7 15:45:29 2010
New Revision: 103294

URL: http://llvm.org/viewvc/llvm-project?rev=103294&view=rev
Log:
add more types to -ast-print-xml, PR5006

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

Modified: cfe/trunk/include/clang/Frontend/TypeXML.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/TypeXML.def?rev=103294&r1=103293&r2=103294&view=diff
==============================================================================
--- cfe/trunk/include/clang/Frontend/TypeXML.def (original)
+++ cfe/trunk/include/clang/Frontend/TypeXML.def Fri May  7 15:45:29 2010
@@ -214,6 +214,15 @@
   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 @@
   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





More information about the cfe-commits mailing list