summaryrefslogtreecommitdiffstats
path: root/test/expect/gccxml.any.Typedef-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.Typedef-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.Typedef-annotate.xml.txt')
-rw-r--r--test/expect/gccxml.any.Typedef-annotate.xml.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/expect/gccxml.any.Typedef-annotate.xml.txt b/test/expect/gccxml.any.Typedef-annotate.xml.txt
new file mode 100644
index 0000000..e26c743
--- /dev/null
+++ b/test/expect/gccxml.any.Typedef-annotate.xml.txt
@@ -0,0 +1,7 @@
+^<\?xml version="1.0"\?>
+<GCC_XML[^>]*>
+ <Typedef id="_1" name="start" type="_2" context="_3" location="f1:1" file="f1" line="1" attributes="annotate\(an annotation\)"/>
+ <FundamentalType id="_2" name="int" size="[0-9]+" align="[0-9]+"/>
+ <Namespace id="_3" name="::"/>
+ <File id="f1" name=".*/test/input/Typedef-annotate.cxx"/>
+</GCC_XML>$