diff options
author | Brad King <brad.king@kitware.com> | 2014-10-14 18:28:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-10-14 19:12:10 (GMT) |
commit | be9dd290ac1154c496f80a2d7a9517f85de42a59 (patch) | |
tree | 0e79c7a6790b71c7868527f0952ea2d03a9ba0f0 /test/expect/gccxml.any.Namespace-Class-members.xml.txt | |
parent | 7f85cb14aaec25bb434aa8f3f59a0824570d048c (diff) | |
download | CastXML-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.any.Namespace-Class-members.xml.txt')
-rw-r--r-- | test/expect/gccxml.any.Namespace-Class-members.xml.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/expect/gccxml.any.Namespace-Class-members.xml.txt b/test/expect/gccxml.any.Namespace-Class-members.xml.txt index 44146be..951316f 100644 --- a/test/expect/gccxml.any.Namespace-Class-members.xml.txt +++ b/test/expect/gccxml.any.Namespace-Class-members.xml.txt @@ -3,14 +3,14 @@ <Namespace id="_1" name="start" context="_2" members="_3"/> <Class id="_3" name="A" context="_1" location="f1:2" file="f1" line="2" members="_4 _5 _6 _7 _8"/> <Variable id="_4" name="data" type="_9" context="_3" access="private" location="f1:3" file="f1" line="3" static="1"/> - <Constructor id="_5" name="A" context="_3" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1"/> - <Constructor id="_6" name="A" context="_3" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1"> + <Constructor id="_5" name="A" context="_3" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1"( throws="")?/> + <Constructor id="_6" name="A" context="_3" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1"( throws="")?> <Argument type="_10" location="f1:2" file="f1" line="2"/> </Constructor> - <OperatorMethod id="_7" name="=" returns="_11" context="_3" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1"> + <OperatorMethod id="_7" name="=" returns="_11" context="_3" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1"( throws="")?> <Argument type="_10" location="f1:2" file="f1" line="2"/> </OperatorMethod> - <Destructor id="_8" name="A" context="_3" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1"/> + <Destructor id="_8" name="A" context="_3" access="public" location="f1:2" file="f1" line="2" inline="1" artificial="1"( throws="")?/> <FundamentalType id="_9" name="int"/> <ReferenceType id="_10" type="_3c"/> <ReferenceType id="_11" type="_3"/> |