summaryrefslogtreecommitdiffstats
path: root/test/expect/gccxml.any.Class-implicit-member-access-mutable.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-implicit-member-access-mutable.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-implicit-member-access-mutable.xml.txt')
-rw-r--r--test/expect/gccxml.any.Class-implicit-member-access-mutable.xml.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/expect/gccxml.any.Class-implicit-member-access-mutable.xml.txt b/test/expect/gccxml.any.Class-implicit-member-access-mutable.xml.txt
index b7d51d2..e7b0225 100644
--- a/test/expect/gccxml.any.Class-implicit-member-access-mutable.xml.txt
+++ b/test/expect/gccxml.any.Class-implicit-member-access-mutable.xml.txt
@@ -1,11 +1,11 @@
^<\?xml version="1.0"\?>
<GCC_XML[^>]*>
- <Class id="_1" name="start" context="_2" location="f1:10" file="f1" line="10" members="_3 _4" bases="_5">
+ <Class id="_1" name="start" context="_2" location="f1:10" file="f1" line="10" members="_3 _4" bases="_5" size="[0-9]+" align="[0-9]+">
<Base type="_5" access="public" virtual="0"/>
</Class>
<Destructor id="_3" name="start" context="_1" access="public" location="f1:10" file="f1" line="10" inline="1" artificial="1"( throws="")?/>
<Constructor id="_4" name="start" context="_1" access="public" location="f1:10" file="f1" line="10" inline="1" artificial="1"( throws="")?/>
- <Class id="_5" name="base" context="_2" location="f1:1" file="f1" line="1" members="_6 _7 _8 _9 _10"/>
+ <Class id="_5" name="base" context="_2" location="f1:1" file="f1" line="1" members="_6 _7 _8 _9 _10" size="[0-9]+" align="[0-9]+"/>
<Constructor id="_6" name="base" context="_5" access="protected" location="f1:3" file="f1" line="3"/>
<Destructor id="_7" name="base" context="_5" access="protected" location="f1:4" file="f1" line="4"/>
<Constructor id="_8" name="base" context="_5" access="private" location="f1:6" file="f1" line="6">
@@ -17,7 +17,7 @@
<Field id="_10" name="data" type="_13" context="_5" access="private" location="f1:8" file="f1" line="8" offset="0" mutable="1"/>
<ReferenceType id="_11" type="_5c"/>
<ReferenceType id="_12" type="_5"/>
- <FundamentalType id="_13" name="int"/>
+ <FundamentalType id="_13" name="int" size="[0-9]+" align="[0-9]+"/>
<Namespace id="_2" name="::"/>
<CvQualifiedType id="_5c" type="_5" const="1"/>
<File id="f1" name=".*/test/input/Class-implicit-member-access-mutable.cxx"/>