diff options
author | Brad King <brad.king@kitware.com> | 2015-06-23 20:54:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-06-24 17:46:59 (GMT) |
commit | adcf6a0b51032e4486e1ba0bac3f646166b09653 (patch) | |
tree | e5bdc1c4a5e8ea4588180274400c0f0832637edb /test/expect/gccxml.c89.GNU-float128.xml.txt | |
parent | e519695620c0f5ebf1011e8946f1878b67f2fb08 (diff) | |
download | CastXML-adcf6a0b51032e4486e1ba0bac3f646166b09653.zip CastXML-adcf6a0b51032e4486e1ba0bac3f646166b09653.tar.gz CastXML-adcf6a0b51032e4486e1ba0bac3f646166b09653.tar.bz2 |
Output: Further hide our __float128 struct from generated xml
Give the our __float128 struct an internal '__castxml' name so that it
can be identified during traversal of member lists. Do not report the
struct as a member of the translation unit since the typedef will be
generated as a FundamentalType directly. Also generate empty mangled=""
attributes for mangled names involving our __float128 struct since the
mangled names will not use the "g" that GCC would for the builtin type.
Add test cases that do not use --castxml-start. Verify that no test
case produces '__castxml' in its output to ensure we always hide such
internal details from the generated output.
GitHub-Issue: 18
Diffstat (limited to 'test/expect/gccxml.c89.GNU-float128.xml.txt')
-rw-r--r-- | test/expect/gccxml.c89.GNU-float128.xml.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/expect/gccxml.c89.GNU-float128.xml.txt b/test/expect/gccxml.c89.GNU-float128.xml.txt index 9263155..3e0272d 100644 --- a/test/expect/gccxml.c89.GNU-float128.xml.txt +++ b/test/expect/gccxml.c89.GNU-float128.xml.txt @@ -1,6 +1,6 @@ ^<\?xml version="1.0"\?> <GCC_XML[^>]*> - <Function id="_1" name="start" returns="_2" context="_3" location="f1:1" file="f1" line="1" mangled="[^"]+"> + <Function id="_1" name="start" returns="_2" context="_3" location="f1:1" file="f1" line="1" mangled="_Z5start"> <Argument type="_2" location="f1:1" file="f1" line="1"/> </Function> <FundamentalType id="_2" name="__float128" size="128" align="128"/> |