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.Class-member-template.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.Class-member-template.xml.txt')
-rw-r--r-- | test/expect/gccxml.any.Class-member-template.xml.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/expect/gccxml.any.Class-member-template.xml.txt b/test/expect/gccxml.any.Class-member-template.xml.txt index 487aebb..166cd93 100644 --- a/test/expect/gccxml.any.Class-member-template.xml.txt +++ b/test/expect/gccxml.any.Class-member-template.xml.txt @@ -4,14 +4,14 @@ <Method id="_3" name="method" returns="_8" context="_1" access="private" location="f1:2" file="f1" line="2" inline="1"> <Argument name="v" type="_8" location="f1:2" file="f1" line="2"/> </Method> - <Constructor id="_4" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"/> - <Constructor id="_5" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"> + <Constructor id="_4" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throws="")?/> + <Constructor id="_5" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throws="")?> <Argument type="_9" location="f1:1" file="f1" line="1"/> </Constructor> - <OperatorMethod id="_6" name="=" returns="_10" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"> + <OperatorMethod id="_6" name="=" returns="_10" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throws="")?> <Argument type="_9" location="f1:1" file="f1" line="1"/> </OperatorMethod> - <Destructor id="_7" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"/> + <Destructor id="_7" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throws="")?/> <FundamentalType id="_8" name="int"/> <ReferenceType id="_9" type="_1c"/> <ReferenceType id="_10" type="_1"/> |