summaryrefslogtreecommitdiffstats
path: root/test/expect/gccxml.any.Class-template.xml.txt
diff options
context:
space:
mode:
authorMichka Popoff <michkapopoff@gmail.com>2015-04-05 12:33:05 (GMT)
committerBrad King <brad.king@kitware.com>2015-04-08 14:50:35 (GMT)
commit45d5a24874afa9343df9048bb240b655e9b49965 (patch)
tree81f1903f5d4cde8c45ceb2023414aef06e800683 /test/expect/gccxml.any.Class-template.xml.txt
parent57c93dfba8395299cd939c40dd894f40cfd4ec28 (diff)
downloadCastXML-45d5a24874afa9343df9048bb240b655e9b49965.zip
CastXML-45d5a24874afa9343df9048bb240b655e9b49965.tar.gz
CastXML-45d5a24874afa9343df9048bb240b655e9b49965.tar.bz2
Output: Add "size" and "align" attributes on builtin types and structs
This information is produced by gccxml, so add it to our output too. Since we don't know the architecture that will be targeted during testing, match any size and align values with "[0-9]+".
Diffstat (limited to 'test/expect/gccxml.any.Class-template.xml.txt')
-rw-r--r--test/expect/gccxml.any.Class-template.xml.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/expect/gccxml.any.Class-template.xml.txt b/test/expect/gccxml.any.Class-template.xml.txt
index d4065de..f8d5446 100644
--- a/test/expect/gccxml.any.Class-template.xml.txt
+++ b/test/expect/gccxml.any.Class-template.xml.txt
@@ -1,8 +1,8 @@
^<\?xml version="1.0"\?>
<GCC_XML[^>]*>
<Class id="_1" name="start&lt;char&gt;" context="_4" location="f1:3" file="f1" line="3" incomplete="1"/>
- <Class id="_2" name="start&lt;int&gt;" context="_4" location="f1:4" file="f1" line="4" members="_5 _6 _7 _8"/>
- <Struct id="_3" name="start&lt;int &amp;&gt;" context="_4" location="f1:5" file="f1" line="5" members="_9 _10 _11 _12"/>
+ <Class id="_2" name="start&lt;int&gt;" context="_4" location="f1:4" file="f1" line="4" members="_5 _6 _7 _8" size="[0-9]+" align="[0-9]+"/>
+ <Struct id="_3" name="start&lt;int &amp;&gt;" context="_4" location="f1:5" file="f1" line="5" members="_9 _10 _11 _12" size="[0-9]+" align="[0-9]+"/>
<Constructor id="_5" name="start" context="_2" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1"( throws="")?/>
<Constructor id="_6" name="start" context="_2" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1"( throws="")?>
<Argument type="_13" location="f1:4" file="f1" line="4"/>