diff options
author | Michka Popoff <michkapopoff@gmail.com> | 2015-05-20 21:52:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-05-21 12:28:01 (GMT) |
commit | 23931168b2a1f251154eeb5bd72eca39d72fc21b (patch) | |
tree | 4884aa9b7b77f52a6e73b3a1f01a1808b6959af9 /test/expect/gccxml.any.Class-friends.xml.txt | |
parent | d741c9e4e56ff43dc35603327f1a8d30c8bb167c (diff) | |
download | CastXML-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-friends.xml.txt')
-rw-r--r-- | test/expect/gccxml.any.Class-friends.xml.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/expect/gccxml.any.Class-friends.xml.txt b/test/expect/gccxml.any.Class-friends.xml.txt index e68a4fa..353afcd 100644 --- a/test/expect/gccxml.any.Class-friends.xml.txt +++ b/test/expect/gccxml.any.Class-friends.xml.txt @@ -1,14 +1,14 @@ ^<\?xml version="1.0"\?> <GCC_XML[^>]*> <Class id="_1" name="start" context="_2" location="f1:3" file="f1" line="3" members="_3 _4 _5 _6" befriending="_7 _8" size="[0-9]+" align="[0-9]+"/> - <Constructor id="_3" name="start" context="_1" access="public" location="f1:3" file="f1" line="3" inline="1" artificial="1"( throws="")?/> - <Constructor id="_4" name="start" context="_1" access="public" location="f1:3" file="f1" line="3" inline="1" artificial="1"( throws="")?> + <Constructor id="_3" name="start" context="_1" access="public" location="f1:3" file="f1" line="3" inline="1" artificial="1"( throw="")?/> + <Constructor id="_4" name="start" context="_1" access="public" location="f1:3" file="f1" line="3" inline="1" artificial="1"( throw="")?> <Argument type="_9" location="f1:3" file="f1" line="3"/> </Constructor> - <OperatorMethod id="_5" name="=" returns="_10" context="_1" access="public" location="f1:3" file="f1" line="3" inline="1" artificial="1"( throws="")? mangled="[^"]+"> + <OperatorMethod id="_5" name="=" returns="_10" context="_1" access="public" location="f1:3" file="f1" line="3" inline="1" artificial="1"( throw="")? mangled="[^"]+"> <Argument type="_9" location="f1:3" file="f1" line="3"/> </OperatorMethod> - <Destructor id="_6" name="start" context="_1" access="public" location="f1:3" file="f1" line="3" inline="1" artificial="1"( throws="")?/> + <Destructor id="_6" name="start" context="_1" access="public" location="f1:3" file="f1" line="3" inline="1" artificial="1"( throw="")?/> <ReferenceType id="_9" type="_1c"/> <CvQualifiedType id="_1c" type="_1" const="1"/> <ReferenceType id="_10" type="_1"/> |