diff options
author | Jörg Wollenschläger <joerg.wollenschlaeger@gmail.com> | 2015-08-22 20:04:35 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-08-24 14:27:01 (GMT) |
commit | 8f5ae0e19203b51a6405533139caec1816ea919d (patch) | |
tree | 8444ddda1d70469b108927b4bbc1b8a8ecb0e90a /test/expect/gccxml.any.Variable-annotate.xml.txt | |
parent | 2e55b356f9ed1a97d3bdfcb981c919b3d4defc7b (diff) | |
download | CastXML-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.Variable-annotate.xml.txt')
-rw-r--r-- | test/expect/gccxml.any.Variable-annotate.xml.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/expect/gccxml.any.Variable-annotate.xml.txt b/test/expect/gccxml.any.Variable-annotate.xml.txt new file mode 100644 index 0000000..020bcf9 --- /dev/null +++ b/test/expect/gccxml.any.Variable-annotate.xml.txt @@ -0,0 +1,7 @@ +^<\?xml version="1.0"\?> +<GCC_XML[^>]*> + <Variable id="_1" name="start" type="_2" context="_3" location="f1:1" file="f1" line="1" mangled="[^"]+" 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/Variable-annotate.cxx"/> +</GCC_XML>$ |