summaryrefslogtreecommitdiffstats
path: root/test/expect/gccxml.any.Field-annotate.xml.txt
diff options
context:
space:
mode:
authorJörg Wollenschläger <joerg.wollenschlaeger@gmail.com>2015-08-22 20:04:35 (GMT)
committerBrad King <brad.king@kitware.com>2015-08-24 14:27:01 (GMT)
commit8f5ae0e19203b51a6405533139caec1816ea919d (patch)
tree8444ddda1d70469b108927b4bbc1b8a8ecb0e90a /test/expect/gccxml.any.Field-annotate.xml.txt
parent2e55b356f9ed1a97d3bdfcb981c919b3d4defc7b (diff)
downloadCastXML-8f5ae0e19203b51a6405533139caec1816ea919d.zip
CastXML-8f5ae0e19203b51a6405533139caec1816ea919d.tar.gz
CastXML-8f5ae0e19203b51a6405533139caec1816ea919d.tar.bz2
Output: Add annotate() to more declaration attributes=""
Extend the change from commit e73fba54 (Output: Add annotate() to function declaration attributes="", 2015-08-18) to support record, enum, field, variable, and typedef since gccxml also supported attributes in these.
Diffstat (limited to 'test/expect/gccxml.any.Field-annotate.xml.txt')
-rw-r--r--test/expect/gccxml.any.Field-annotate.xml.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/expect/gccxml.any.Field-annotate.xml.txt b/test/expect/gccxml.any.Field-annotate.xml.txt
new file mode 100644
index 0000000..d5d524e
--- /dev/null
+++ b/test/expect/gccxml.any.Field-annotate.xml.txt
@@ -0,0 +1,19 @@
+^<\?xml version="1.0"\?>
+<GCC_XML[^>]*>
+ <Class id="_1" name="start" context="_2" location="f1:1" file="f1" line="1" members="_3 _4 _5 _6 _7" size="[0-9]+" align="[0-9]+"/>
+ <Field id="_3" name="field" type="_8" context="_1" access="private" location="f1:2" file="f1" line="2" offset="0" attributes="annotate\(an annotation\)"/>
+ <Constructor id="_4" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throw="")?/>
+ <Constructor id="_5" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throw="")?>
+ <Argument type="_9" location="f1:1" file="f1" line="1"/>
+ </Constructor>
+ <OperatorMethod id="_6" name="=" returns="_10" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throw="")? mangled="[^"]+">
+ <Argument type="_9" location="f1:1" file="f1" line="1"/>
+ </OperatorMethod>
+ <Destructor id="_7" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throw="")?/>
+ <FundamentalType id="_8" name="int" size="[0-9]+" align="[0-9]+"/>
+ <ReferenceType id="_9" type="_1c"/>
+ <CvQualifiedType id="_1c" type="_1" const="1"/>
+ <ReferenceType id="_10" type="_1"/>
+ <Namespace id="_2" name="::"/>
+ <File id="f1" name=".*/test/input/Field-annotate.cxx"/>
+</GCC_XML>$