diff options
author | Michka Popoff <michkapopoff@gmail.com> | 2015-04-05 12:33:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-04-08 14:50:35 (GMT) |
commit | 45d5a24874afa9343df9048bb240b655e9b49965 (patch) | |
tree | 81f1903f5d4cde8c45ceb2023414aef06e800683 /test/expect/gccxml.any.FundamentalTypes.xml.txt | |
parent | 57c93dfba8395299cd939c40dd894f40cfd4ec28 (diff) | |
download | CastXML-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.FundamentalTypes.xml.txt')
-rw-r--r-- | test/expect/gccxml.any.FundamentalTypes.xml.txt | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/test/expect/gccxml.any.FundamentalTypes.xml.txt b/test/expect/gccxml.any.FundamentalTypes.xml.txt index 6bd2561..3929739 100644 --- a/test/expect/gccxml.any.FundamentalTypes.xml.txt +++ b/test/expect/gccxml.any.FundamentalTypes.xml.txt @@ -14,19 +14,19 @@ <Typedef id="_13" name="t_ULongLong" type="_26" context="_1" location="f1:12" file="f1" line="12"/> <Typedef id="_14" name="t_Float" type="_27" context="_1" location="f1:13" file="f1" line="13"/> <Typedef id="_15" name="t_Double" type="_28" context="_1" location="f1:14" file="f1" line="14"/> - <FundamentalType id="_16" name="char"/> - <FundamentalType id="_17" name="signed char"/> - <FundamentalType id="_18" name="unsigned char"/> - <FundamentalType id="_19" name="short int"/> - <FundamentalType id="_20" name="short unsigned int"/> - <FundamentalType id="_21" name="int"/> - <FundamentalType id="_22" name="unsigned int"/> - <FundamentalType id="_23" name="long int"/> - <FundamentalType id="_24" name="long unsigned int"/> - <FundamentalType id="_25" name="long long int"/> - <FundamentalType id="_26" name="long long unsigned int"/> - <FundamentalType id="_27" name="float"/> - <FundamentalType id="_28" name="double"/> + <FundamentalType id="_16" name="char" size="8" align="8"/> + <FundamentalType id="_17" name="signed char" size="8" align="8"/> + <FundamentalType id="_18" name="unsigned char" size="8" align="8"/> + <FundamentalType id="_19" name="short int" size="16" align="16"/> + <FundamentalType id="_20" name="short unsigned int" size="16" align="16"/> + <FundamentalType id="_21" name="int" size="[0-9]+" align="[0-9]+"/> + <FundamentalType id="_22" name="unsigned int" size="[0-9]+" align="[0-9]+"/> + <FundamentalType id="_23" name="long int" size="[0-9]+" align="[0-9]+"/> + <FundamentalType id="_24" name="long unsigned int" size="[0-9]+" align="[0-9]+"/> + <FundamentalType id="_25" name="long long int" size="[0-9]+" align="[0-9]+"/> + <FundamentalType id="_26" name="long long unsigned int" size="[0-9]+" align="[0-9]+"/> + <FundamentalType id="_27" name="float" size="[0-9]+" align="[0-9]+"/> + <FundamentalType id="_28" name="double" size="[0-9]+" align="[0-9]+"/> <Namespace id="_2" name="::"/> <File id="f1" name=".*/test/input/FundamentalTypes.cxx"/> </GCC_XML>$ |