summaryrefslogtreecommitdiffstats
path: root/test/expect/gccxml.any.Class-template-Method-Argument-const.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-Method-Argument-const.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-Method-Argument-const.xml.txt')
-rw-r--r--test/expect/gccxml.any.Class-template-Method-Argument-const.xml.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/expect/gccxml.any.Class-template-Method-Argument-const.xml.txt b/test/expect/gccxml.any.Class-template-Method-Argument-const.xml.txt
index c4e288c..d9bc600 100644
--- a/test/expect/gccxml.any.Class-template-Method-Argument-const.xml.txt
+++ b/test/expect/gccxml.any.Class-template-Method-Argument-const.xml.txt
@@ -1,14 +1,14 @@
^<\?xml version="1.0"\?>
<GCC_XML[^>]*>
<Class id="_1" name="start&lt;const int&gt;" context="_2" location="f1:4" file="f1" line="4" members="_3 _4 _5 _6 _7" size="[0-9]+" align="[0-9]+"/>
- <Method id="_3" name="method" returns="_8" context="_1" access="private" location="f1:2" file="f1" line="2">
+ <Method id="_3" name="method" returns="_8" context="_1" access="private" location="f1:2" file="f1" line="2" mangled="[^"]+">
<Argument type="_9" location="f1:2" file="f1" line="2"/>
</Method>
- <Constructor id="_4" name="start" context="_1" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1"/>
+ <Constructor id="_4" name="start" context="_1" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1"( throws="")?/>
<Constructor id="_5" name="start" context="_1" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1"( throws="")?>
<Argument type="_10" location="f1:4" file="f1" line="4"/>
</Constructor>
- <OperatorMethod id="_6" name="=" returns="_11" context="_1" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1"( throws="")?>
+ <OperatorMethod id="_6" name="=" returns="_11" context="_1" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1"( throws="")? mangled="[^"]+">
<Argument type="_10" location="f1:4" file="f1" line="4"/>
</OperatorMethod>
<Destructor id="_7" name="start" context="_1" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1"( throws="")?/>