[cfe-commits] r111808 - /cfe/trunk/include/clang/Frontend/StmtXML.def
Douglas Gregor
dgregor at apple.com
Mon Aug 23 07:44:47 PDT 2010
Author: dgregor
Date: Mon Aug 23 09:44:46 2010
New Revision: 111808
URL: http://llvm.org/viewvc/llvm-project?rev=111808&view=rev
Log:
Add XML for CXXConstructExpr, from Benoit Belley!
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=111808&r1=111807&r2=111808&view=diff
==============================================================================
--- cfe/trunk/include/clang/Frontend/StmtXML.def (original)
+++ cfe/trunk/include/clang/Frontend/StmtXML.def Mon Aug 23 09:44:46 2010
@@ -444,6 +444,14 @@
SUB_NODE_SEQUENCE_XML(Expr) // arg1..argN
END_NODE_XML
+NODE_XML(CXXConstructExpr, "CXXConstructExpr") // ctor(arg1, arg2, ...)
+ ATTRIBUTE_FILE_LOCATION_XML
+ TYPE_ATTRIBUTE_XML(getType())
+ ATTRIBUTE_XML(getNumArgs(), "num_args") // unsigned
+ SUB_NODE_XML(Expr) // fnexpr
+ SUB_NODE_SEQUENCE_XML(Expr) // arg1..argN
+END_NODE_XML
+
NODE_XML(CXXNamedCastExpr, "CXXNamedCastExpr") // xxx_cast<type>(expr)
ATTRIBUTE_FILE_LOCATION_XML
TYPE_ATTRIBUTE_XML(getType())
More information about the cfe-commits
mailing list