summaryrefslogtreecommitdiffstats
path: root/test/expect/gccxml.any.OffsetType.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.OffsetType.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.OffsetType.xml.txt')
-rw-r--r--test/expect/gccxml.any.OffsetType.xml.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/expect/gccxml.any.OffsetType.xml.txt b/test/expect/gccxml.any.OffsetType.xml.txt
index 5a4c63e..c4a0c82 100644
--- a/test/expect/gccxml.any.OffsetType.xml.txt
+++ b/test/expect/gccxml.any.OffsetType.xml.txt
@@ -3,7 +3,7 @@
<Typedef id="_1" name="start" type="_2" context="_3" location="f1:2" file="f1" line="2"/>
<OffsetType id="_2" basetype="_4" type="_5"/>
<Class id="_4" name="A" context="_3" location="f1:1" file="f1" line="1" incomplete="1"/>
- <FundamentalType id="_5" name="int"/>
+ <FundamentalType id="_5" name="int" size="[0-9]+" align="[0-9]+"/>
<Namespace id="_3" name="::"/>
<File id="f1" name=".*/test/input/OffsetType.cxx"/>
</GCC_XML>$