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.c++11.Class-template-bases.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.c++11.Class-template-bases.xml.txt')
-rw-r--r-- | test/expect/gccxml.c++11.Class-template-bases.xml.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/expect/gccxml.c++11.Class-template-bases.xml.txt b/test/expect/gccxml.c++11.Class-template-bases.xml.txt index 25eb461..1a7a047 100644 --- a/test/expect/gccxml.c++11.Class-template-bases.xml.txt +++ b/test/expect/gccxml.c++11.Class-template-bases.xml.txt @@ -1,6 +1,6 @@ ^<\?xml version="1.0"\?> <GCC_XML[^>]*> - <Class id="_1" name="start<int>" context="_2" location="f1:4" file="f1" line="4" members="_3 _4 _5 _6" bases="_7 _8"> + <Class id="_1" name="start<int>" context="_2" location="f1:4" file="f1" line="4" members="_3 _4 _5 _6" bases="_7 _8" size="[0-9]+" align="[0-9]+"> <Base type="_7" access="public" virtual="0"/> <Base type="_8" access="public" virtual="0"/> </Class> @@ -12,8 +12,8 @@ <Argument type="_9" location="f1:4" file="f1" line="4"/> </OperatorMethod> <Destructor id="_6" name="start" context="_1" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1"/> - <Class id="_7" name="non_dependent_base" context="_2" location="f1:1" file="f1" line="1" members="_11 _12 _13 _14"/> - <Class id="_8" name="dependent_base<int>" context="_2" location="f1:2" file="f1" line="2" members="_15 _16 _17 _18"/> + <Class id="_7" name="non_dependent_base" context="_2" location="f1:1" file="f1" line="1" members="_11 _12 _13 _14" size="[0-9]+" align="[0-9]+"/> + <Class id="_8" name="dependent_base<int>" context="_2" location="f1:2" file="f1" line="2" members="_15 _16 _17 _18" size="[0-9]+" align="[0-9]+"/> <ReferenceType id="_9" type="_1c"/> <ReferenceType id="_10" type="_1"/> <Constructor id="_11" name="non_dependent_base" context="_7" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"/> |