summaryrefslogtreecommitdiffstats
path: root/test/expect/gccxml.any.Class-template-friends.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.Class-template-friends.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.Class-template-friends.xml.txt')
-rw-r--r--test/expect/gccxml.any.Class-template-friends.xml.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/expect/gccxml.any.Class-template-friends.xml.txt b/test/expect/gccxml.any.Class-template-friends.xml.txt
index 837a162..3f3f7a2 100644
--- a/test/expect/gccxml.any.Class-template-friends.xml.txt
+++ b/test/expect/gccxml.any.Class-template-friends.xml.txt
@@ -5,7 +5,7 @@
<Constructor id="_4" name="start" context="_1" access="public" location="f1:8" file="f1" line="8" inline="1" artificial="1"( throws="")?>
<Argument type="_9" location="f1:8" file="f1" line="8"/>
</Constructor>
- <OperatorMethod id="_5" name="=" returns="_10" context="_1" access="public" location="f1:8" file="f1" line="8" inline="1" artificial="1"( throws="")?>
+ <OperatorMethod id="_5" name="=" returns="_10" context="_1" access="public" location="f1:8" file="f1" line="8" inline="1" artificial="1"( throws="")? mangled="[^"]+">
<Argument type="_9" location="f1:8" file="f1" line="8"/>
</OperatorMethod>
<Destructor id="_6" name="start" context="_1" access="public" location="f1:8" file="f1" line="8" inline="1" artificial="1"( throws="")?/>
@@ -13,7 +13,7 @@
<CvQualifiedType id="_1c" type="_1" const="1"/>
<ReferenceType id="_10" type="_1"/>
<Namespace id="_2" name="::"/>
- <Function id="_7" name="f" returns="_11" context="_2" location="f1:5" file="f1" line="5">
+ <Function id="_7" name="f" returns="_11" context="_2" location="f1:5" file="f1" line="5" mangled="[^"]+">
<Argument type="_11" location="f1:2" file="f1" line="2"/>
</Function>
<Class id="_8" name="A&lt;int&gt;" context="_2" location="f1:1" file="f1" line="1" incomplete="1"/>