summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-03-23 18:03:54 (GMT)
committerBrad King <brad.king@kitware.com>2015-03-23 18:13:00 (GMT)
commit84468ce2d9e4ea7528600a96fc62b4280d442dd7 (patch)
tree45c6cb40f6ce16dfb0995dfc87d8c7d4c552733f /test
parente86f4c65cdb0b1823fdcfa17038ba852990c8b79 (diff)
downloadCastXML-84468ce2d9e4ea7528600a96fc62b4280d442dd7.zip
CastXML-84468ce2d9e4ea7528600a96fc62b4280d442dd7.tar.gz
CastXML-84468ce2d9e4ea7528600a96fc62b4280d442dd7.tar.bz2
Port to LLVM/Clang SVN r232962 (trunk)
Clang renamed clang::DeclContext::{lookup_const_result => lookup_result}. Use "auto" to automatically match either of these. Update test expected output to match the lack of throws="" on destructors in C++98 mode.
Diffstat (limited to 'test')
-rw-r--r--test/expect/gccxml.c++98.Class-bases.xml.txt8
-rw-r--r--test/expect/gccxml.c++98.Class-template-bases.xml.txt6
2 files changed, 7 insertions, 7 deletions
diff --git a/test/expect/gccxml.c++98.Class-bases.xml.txt b/test/expect/gccxml.c++98.Class-bases.xml.txt
index 3cadcb0..cee1dd7 100644
--- a/test/expect/gccxml.c++98.Class-bases.xml.txt
+++ b/test/expect/gccxml.c++98.Class-bases.xml.txt
@@ -8,7 +8,7 @@
<OperatorMethod id="_3" name="=" returns="_10" context="_1" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1" throws="">
<Argument type="_11" location="f1:4" file="f1" line="4"/>
</OperatorMethod>
- <Destructor id="_4" name="start" context="_1" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1" throws=""/>
+ <Destructor 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="_6" name="start" context="_1" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1" throws="">
<Argument type="_11" location="f1:4" file="f1" line="4"/>
@@ -25,7 +25,7 @@
<OperatorMethod id="_14" name="=" returns="_26" context="_7" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1" throws="">
<Argument type="_25" location="f1:1" file="f1" line="1"/>
</OperatorMethod>
- <Destructor id="_15" name="base_public" context="_7" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1" throws=""/>
+ <Destructor id="_15" name="base_public" context="_7" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throws="")?/>
<Constructor id="_16" name="base_private" context="_8" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1" throws=""/>
<Constructor id="_17" name="base_private" context="_8" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1" throws="">
<Argument type="_27" location="f1:2" file="f1" line="2"/>
@@ -33,7 +33,7 @@
<OperatorMethod id="_18" name="=" returns="_28" context="_8" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1" throws="">
<Argument type="_27" location="f1:2" file="f1" line="2"/>
</OperatorMethod>
- <Destructor id="_19" name="base_private" context="_8" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1" throws=""/>
+ <Destructor id="_19" name="base_private" context="_8" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1"( throws="")?/>
<Constructor id="_20" name="base_protected" context="_9" access="public" location="f1:3" file="f1" line="3" inline="1" artificial="1" throws=""/>
<Constructor id="_21" name="base_protected" context="_9" access="public" location="f1:3" file="f1" line="3" inline="1" artificial="1" throws="">
<Argument type="_29" location="f1:3" file="f1" line="3"/>
@@ -41,7 +41,7 @@
<OperatorMethod id="_22" name="=" returns="_30" context="_9" access="public" location="f1:3" file="f1" line="3" inline="1" artificial="1" throws="">
<Argument type="_29" location="f1:3" file="f1" line="3"/>
</OperatorMethod>
- <Destructor id="_23" name="base_protected" context="_9" access="public" location="f1:3" file="f1" line="3" inline="1" artificial="1" throws=""/>
+ <Destructor id="_23" name="base_protected" context="_9" access="public" location="f1:3" file="f1" line="3" inline="1" artificial="1"( throws="")?/>
<ReferenceType id="_25" type="_7c"/>
<ReferenceType id="_26" type="_7"/>
<ReferenceType id="_27" type="_8c"/>
diff --git a/test/expect/gccxml.c++98.Class-template-bases.xml.txt b/test/expect/gccxml.c++98.Class-template-bases.xml.txt
index 448de83..d866fa7 100644
--- a/test/expect/gccxml.c++98.Class-template-bases.xml.txt
+++ b/test/expect/gccxml.c++98.Class-template-bases.xml.txt
@@ -11,7 +11,7 @@
<OperatorMethod id="_5" name="=" returns="_10" context="_1" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1" throws="">
<Argument type="_9" location="f1:4" file="f1" line="4"/>
</OperatorMethod>
- <Destructor id="_6" name="start" context="_1" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1" throws=""/>
+ <Destructor id="_6" name="start" context="_1" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1"( throws="")?/>
<Class id="_7" name="non_dependent_base" context="_2" location="f1:1" file="f1" line="1" members="_11 _12 _13 _14"/>
<Class id="_8" name="dependent_base&lt;int&gt;" context="_2" location="f1:2" file="f1" line="2" members="_15 _16 _17 _18"/>
<ReferenceType id="_9" type="_1c"/>
@@ -23,7 +23,7 @@
<OperatorMethod id="_13" name="=" returns="_21" context="_7" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1" throws="">
<Argument type="_20" location="f1:1" file="f1" line="1"/>
</OperatorMethod>
- <Destructor id="_14" name="non_dependent_base" context="_7" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1" throws=""/>
+ <Destructor id="_14" name="non_dependent_base" context="_7" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throws="")?/>
<Constructor id="_15" name="dependent_base" context="_8" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1"( throws="")?/>
<Constructor id="_16" name="dependent_base" context="_8" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1" throws="">
<Argument type="_22" location="f1:2" file="f1" line="2"/>
@@ -31,7 +31,7 @@
<OperatorMethod id="_17" name="=" returns="_23" context="_8" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1" throws="">
<Argument type="_22" location="f1:2" file="f1" line="2"/>
</OperatorMethod>
- <Destructor id="_18" name="dependent_base" context="_8" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1" throws=""/>
+ <Destructor id="_18" name="dependent_base" context="_8" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1"( throws="")?/>
<ReferenceType id="_20" type="_7c"/>
<ReferenceType id="_21" type="_7"/>
<ReferenceType id="_22" type="_8c"/>