summaryrefslogtreecommitdiffstats
path: root/test/expect/gccxml.c++11.Class-bases.xml.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-10-14 18:28:37 (GMT)
committerBrad King <brad.king@kitware.com>2014-10-14 19:12:10 (GMT)
commitbe9dd290ac1154c496f80a2d7a9517f85de42a59 (patch)
tree0e79c7a6790b71c7868527f0952ea2d03a9ba0f0 /test/expect/gccxml.c++11.Class-bases.xml.txt
parent7f85cb14aaec25bb434aa8f3f59a0824570d048c (diff)
downloadCastXML-be9dd290ac1154c496f80a2d7a9517f85de42a59.zip
CastXML-be9dd290ac1154c496f80a2d7a9517f85de42a59.tar.gz
CastXML-be9dd290ac1154c496f80a2d7a9517f85de42a59.tar.bz2
Port to LLVM/Clang SVN r219684 (trunk)
Traversal of the clang::driver::JobList entries must now use a range-based for loop. Update expected test output to add throws="" to implicit class members in c++98 mode (which Clang previously missed). First run sed -i 's/artificial="1"/&( throws="")?/' test/expect/*.xml.txt Then split the c++98 and c++11 outputs that have too many throws="" instances for the CMake regex paren limit into separate files. For c++98 we expect throws="" on implicit members. For c++11 we do not.
Diffstat (limited to 'test/expect/gccxml.c++11.Class-bases.xml.txt')
-rw-r--r--test/expect/gccxml.c++11.Class-bases.xml.txt57
1 files changed, 57 insertions, 0 deletions
diff --git a/test/expect/gccxml.c++11.Class-bases.xml.txt b/test/expect/gccxml.c++11.Class-bases.xml.txt
new file mode 100644
index 0000000..d87f1fa
--- /dev/null
+++ b/test/expect/gccxml.c++11.Class-bases.xml.txt
@@ -0,0 +1,57 @@
+^<\?xml version="1.0"\?>
+<GCC_XML[^>]*>
+ <Class id="_1" name="start" context="_2" location="f1:4" file="f1" line="4" members="_3 _4 _5 _6" bases="_7 private:_8 protected:_9">
+ <Base type="_7" access="public" virtual="0"/>
+ <Base type="_8" access="private" virtual="0"/>
+ <Base type="_9" access="protected" virtual="1"/>
+ </Class>
+ <OperatorMethod id="_3" name="=" returns="_10" context="_1" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1">
+ <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"/>
+ <Constructor id="_5" name="start" context="_1" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1"/>
+ <Constructor id="_6" name="start" context="_1" access="public" location="f1:4" file="f1" line="4" inline="1" artificial="1">
+ <Argument type="_11" location="f1:4" file="f1" line="4"/>
+ </Constructor>
+ <Class id="_7" name="base_public" context="_2" location="f1:1" file="f1" line="1" members="_12 _13 _14 _15"/>
+ <Class id="_8" name="base_private" context="_2" location="f1:2" file="f1" line="2" members="_16 _17 _18 _19"/>
+ <Class id="_9" name="base_protected" context="_2" location="f1:3" file="f1" line="3" members="_20 _21 _22 _23"/>
+ <ReferenceType id="_10" type="_1"/>
+ <ReferenceType id="_11" type="_1c"/>
+ <Constructor id="_12" name="base_public" context="_7" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"/>
+ <Constructor id="_13" name="base_public" context="_7" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1">
+ <Argument type="_25" location="f1:1" file="f1" line="1"/>
+ </Constructor>
+ <OperatorMethod id="_14" name="=" returns="_26" context="_7" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1">
+ <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"/>
+ <Constructor id="_16" name="base_private" context="_8" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1"/>
+ <Constructor id="_17" name="base_private" context="_8" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1">
+ <Argument type="_27" location="f1:2" file="f1" line="2"/>
+ </Constructor>
+ <OperatorMethod id="_18" name="=" returns="_28" context="_8" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1">
+ <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"/>
+ <Constructor id="_20" name="base_protected" context="_9" access="public" location="f1:3" file="f1" line="3" inline="1" artificial="1"/>
+ <Constructor id="_21" name="base_protected" context="_9" access="public" location="f1:3" file="f1" line="3" inline="1" artificial="1">
+ <Argument type="_29" location="f1:3" file="f1" line="3"/>
+ </Constructor>
+ <OperatorMethod id="_22" name="=" returns="_30" context="_9" access="public" location="f1:3" file="f1" line="3" inline="1" artificial="1">
+ <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"/>
+ <ReferenceType id="_25" type="_7c"/>
+ <ReferenceType id="_26" type="_7"/>
+ <ReferenceType id="_27" type="_8c"/>
+ <ReferenceType id="_28" type="_8"/>
+ <ReferenceType id="_29" type="_9c"/>
+ <ReferenceType id="_30" type="_9"/>
+ <Namespace id="_2" name="::"/>
+ <CvQualifiedType id="_1c" type="_1" const="1"/>
+ <CvQualifiedType id="_7c" type="_7" const="1"/>
+ <CvQualifiedType id="_8c" type="_8" const="1"/>
+ <CvQualifiedType id="_9c" type="_9" const="1"/>
+ <File id="f1" name=".*/test/input/Class-bases.cxx"/>
+</GCC_XML>$