diff options
author | Brad King <brad.king@kitware.com> | 2015-05-12 13:21:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-05-12 15:46:34 (GMT) |
commit | 0a10370aedd3cc08ebe2a8c0909406859058e146 (patch) | |
tree | c72c61a0fd5092608a86039fd982943860b57269 /test/expect/gccxml.any.GNU-float128.xml.txt | |
parent | 9a56b84fc1f6def5b26860e4f18353bab6cc88ab (diff) | |
download | CastXML-0a10370aedd3cc08ebe2a8c0909406859058e146.zip CastXML-0a10370aedd3cc08ebe2a8c0909406859058e146.tar.gz CastXML-0a10370aedd3cc08ebe2a8c0909406859058e146.tar.bz2 |
Output: Add mangled="" attributes to function and variable decls
The gccxml output format includes mangled="" attributes on almost all
elements. Clang only defines mangling for function and variable
declarations. Add mangled attributes to castxml output where possible.
Diffstat (limited to 'test/expect/gccxml.any.GNU-float128.xml.txt')
-rw-r--r-- | test/expect/gccxml.any.GNU-float128.xml.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/expect/gccxml.any.GNU-float128.xml.txt b/test/expect/gccxml.any.GNU-float128.xml.txt index d21678f..bfcf0da 100644 --- a/test/expect/gccxml.any.GNU-float128.xml.txt +++ b/test/expect/gccxml.any.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"> + <Function id="_1" name="start" returns="_2" context="_3" location="f1:1" file="f1" line="1" mangled="[^"]+"> <Argument type="_2" location="f1:1" file="f1" line="1"/> </Function> <Typedef id="_2" name="__float128" type="_4" context="_3"/> @@ -10,7 +10,7 @@ <Constructor id="_7" context="_4" access="public" location="f0:0" file="f0" line="0" inline="1" artificial="1"( throws="")?> <Argument type="_11"/> </Constructor> - <OperatorMethod id="_8" name="=" returns="_12" context="_4" access="public" location="f0:0" file="f0" line="0" inline="1" artificial="1"( throws="")?> + <OperatorMethod id="_8" name="=" returns="_12" context="_4" access="public" location="f0:0" file="f0" line="0" inline="1" artificial="1"( throws="")? mangled="[^"]+"> <Argument type="_11"/> </OperatorMethod> <Destructor id="_9" context="_4" access="public" location="f0:0" file="f0" line="0" inline="1" artificial="1"( throws="")?/> |