summaryrefslogtreecommitdiffstats
path: root/test/expect/gccxml.any.Class-template-Method-return-const.xml.txt
diff options
context:
space:
mode:
authorMichka Popoff <michkapopoff@gmail.com>2015-05-20 21:52:30 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-21 12:28:01 (GMT)
commit23931168b2a1f251154eeb5bd72eca39d72fc21b (patch)
tree4884aa9b7b77f52a6e73b3a1f01a1808b6959af9 /test/expect/gccxml.any.Class-template-Method-return-const.xml.txt
parentd741c9e4e56ff43dc35603327f1a8d30c8bb167c (diff)
downloadCastXML-23931168b2a1f251154eeb5bd72eca39d72fc21b.zip
CastXML-23931168b2a1f251154eeb5bd72eca39d72fc21b.tar.gz
CastXML-23931168b2a1f251154eeb5bd72eca39d72fc21b.tar.bz2
Output: Generate throw="..." instead of throws="..."
Original gccxml output used the singular name, so we should too for compatibility. Fix this typo left from commit defc576826 (Output: Generate Function and related elements, 2014-02-12).
Diffstat (limited to 'test/expect/gccxml.any.Class-template-Method-return-const.xml.txt')
-rw-r--r--test/expect/gccxml.any.Class-template-Method-return-const.xml.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/expect/gccxml.any.Class-template-Method-return-const.xml.txt b/test/expect/gccxml.any.Class-template-Method-return-const.xml.txt
index 080ecfe..aa75b74 100644
--- a/test/expect/gccxml.any.Class-template-Method-return-const.xml.txt
+++ b/test/expect/gccxml.any.Class-template-Method-return-const.xml.txt
@@ -2,14 +2,14 @@
<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="_8c" context="_1" access="private" location="f1:2" file="f1" line="2" mangled="[^"]+"/>
- <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="")?>
+ <Constructor id="_4" name="start" context="_1" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1"( throw="")?/>
+ <Constructor id="_5" name="start" context="_1" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1"( throw="")?>
<Argument type="_9" location="f1:4" file="f1" line="4"/>
</Constructor>
- <OperatorMethod id="_6" name="=" returns="_10" context="_1" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1"( throws="")? mangled="[^"]+">
+ <OperatorMethod id="_6" name="=" returns="_10" context="_1" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1"( throw="")? mangled="[^"]+">
<Argument type="_9" 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="")?/>
+ <Destructor id="_7" name="start" context="_1" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1"( throw="")?/>
<FundamentalType id="_8" name="int" size="[0-9]+" align="[0-9]+"/>
<CvQualifiedType id="_8c" type="_8" const="1"/>
<ReferenceType id="_9" type="_1c"/>