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.Namespace-Class-members.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.Namespace-Class-members.xml.txt')
-rw-r--r-- | test/expect/gccxml.any.Namespace-Class-members.xml.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/expect/gccxml.any.Namespace-Class-members.xml.txt b/test/expect/gccxml.any.Namespace-Class-members.xml.txt index 951316f..9f38370 100644 --- a/test/expect/gccxml.any.Namespace-Class-members.xml.txt +++ b/test/expect/gccxml.any.Namespace-Class-members.xml.txt @@ -1,7 +1,7 @@ ^<\?xml version="1.0"\?> <GCC_XML[^>]*> <Namespace id="_1" name="start" context="_2" members="_3"/> - <Class id="_3" name="A" context="_1" location="f1:2" file="f1" line="2" members="_4 _5 _6 _7 _8"/> + <Class id="_3" name="A" context="_1" location="f1:2" file="f1" line="2" members="_4 _5 _6 _7 _8" size="[0-9]+" align="[0-9]+"/> <Variable id="_4" name="data" type="_9" context="_3" access="private" location="f1:3" file="f1" line="3" static="1"/> <Constructor id="_5" name="A" context="_3" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1"( throws="")?/> <Constructor id="_6" name="A" context="_3" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1"( throws="")?> @@ -11,7 +11,7 @@ <Argument type="_10" location="f1:2" file="f1" line="2"/> </OperatorMethod> <Destructor id="_8" name="A" context="_3" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1"( throws="")?/> - <FundamentalType id="_9" name="int"/> + <FundamentalType id="_9" name="int" size="[0-9]+" align="[0-9]+"/> <ReferenceType id="_10" type="_3c"/> <ReferenceType id="_11" type="_3"/> <Namespace id="_2" name="::"/> |