summaryrefslogtreecommitdiffstats
path: root/test/expect/gccxml.any.Namespace-repeat.xml.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-05-12 13:21:41 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-12 15:46:34 (GMT)
commit0a10370aedd3cc08ebe2a8c0909406859058e146 (patch)
treec72c61a0fd5092608a86039fd982943860b57269 /test/expect/gccxml.any.Namespace-repeat.xml.txt
parent9a56b84fc1f6def5b26860e4f18353bab6cc88ab (diff)
downloadCastXML-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.Namespace-repeat.xml.txt')
-rw-r--r--test/expect/gccxml.any.Namespace-repeat.xml.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/expect/gccxml.any.Namespace-repeat.xml.txt b/test/expect/gccxml.any.Namespace-repeat.xml.txt
index 6abb7cb..b8b3733 100644
--- a/test/expect/gccxml.any.Namespace-repeat.xml.txt
+++ b/test/expect/gccxml.any.Namespace-repeat.xml.txt
@@ -2,8 +2,8 @@
<GCC_XML[^>]*>
<Namespace id="_1" name="start" context="_2" members="_3"/>
<Namespace id="_3" name="ns" context="_1" members="_4 _5"/>
- <Function id="_4" name="f1" returns="_6" context="_3" location="f1:3" file="f1" line="3"/>
- <Function id="_5" name="f2" returns="_6" context="_3" location="f1:6" file="f1" line="6"/>
+ <Function id="_4" name="f1" returns="_6" context="_3" location="f1:3" file="f1" line="3" mangled="[^"]+"/>
+ <Function id="_5" name="f2" returns="_6" context="_3" location="f1:6" file="f1" line="6" mangled="[^"]+"/>
<FundamentalType id="_6" name="void" size="[0-9]+" align="[0-9]+"/>
<Namespace id="_2" name="::"/>
<File id="f1" name=".*/test/input/Namespace-repeat.cxx"/>