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-friends.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-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 f434623..ced48ce 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"/> - <Constructor id="_3" name="start" context="_1" access="public" location="f1:3" file="f1" line="3" inline="1" artificial="1"/> - <Constructor id="_4" name="start" context="_1" access="public" location="f1:3" file="f1" line="3" inline="1" artificial="1"> + <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="")?> <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"> + <OperatorMethod id="_5" name="=" returns="_10" context="_1" access="public" location="f1:3" file="f1" line="3" inline="1" artificial="1"( throws="")?> <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"/> + <Destructor id="_6" name="start" context="_1" access="public" location="f1:3" file="f1" line="3" inline="1" artificial="1"( throws="")?/> <ReferenceType id="_9" type="_1c"/> <ReferenceType id="_10" type="_1"/> <Namespace id="_2" name="::"/> |