summaryrefslogtreecommitdiffstats
path: root/test/expect/gccxml.any.Class-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.Class-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.Class-annotate.xml.txt')
-rw-r--r--test/expect/gccxml.any.Class-annotate.xml.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/expect/gccxml.any.Class-annotate.xml.txt b/test/expect/gccxml.any.Class-annotate.xml.txt
new file mode 100644
index 0000000..e8a645c
--- /dev/null
+++ b/test/expect/gccxml.any.Class-annotate.xml.txt
@@ -0,0 +1,17 @@
+^<\?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" size="[0-9]+" align="[0-9]+" attributes="annotate\(an annotation\)"/>
+ <Constructor id="_3" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throw="")?/>
+ <Constructor id="_4" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throw="")?>
+ <Argument type="_7" location="f1:1" file="f1" line="1"/>
+ </Constructor>
+ <OperatorMethod id="_5" name="=" returns="_8" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throw="")? mangled="[^"]+">
+ <Argument type="_7" location="f1:1" file="f1" line="1"/>
+ </OperatorMethod>
+ <Destructor id="_6" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throw="")?/>
+ <ReferenceType id="_7" type="_1c"/>
+ <CvQualifiedType id="_1c" type="_1" const="1"/>
+ <ReferenceType id="_8" type="_1"/>
+ <Namespace id="_2" name="::"/>
+ <File id="f1" name=".*/test/input/Class-annotate.cxx"/>
+</GCC_XML>$