summaryrefslogtreecommitdiffstats
path: root/test/expect/gccxml.any.Field.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.any.Field.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.any.Field.xml.txt')
-rw-r--r--test/expect/gccxml.any.Field.xml.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/expect/gccxml.any.Field.xml.txt b/test/expect/gccxml.any.Field.xml.txt
index 41cd156..ab39d48 100644
--- a/test/expect/gccxml.any.Field.xml.txt
+++ b/test/expect/gccxml.any.Field.xml.txt
@@ -4,14 +4,14 @@
<Field id="_3" name="field" type="_10" context="_1" access="private" location="f1:2" file="f1" line="2"/>
<Field id="_4" name="bit_field" type="_11" bits="2" context="_1" access="private" location="f1:3" file="f1" line="3"/>
<Field id="_5" name="mutable_field" type="_10" context="_1" access="private" location="f1:4" file="f1" line="4" mutable="1"/>
- <Constructor id="_6" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1">
+ <Constructor id="_6" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throws="")?>
<Argument type="_12" location="f1:1" file="f1" line="1"/>
</Constructor>
- <OperatorMethod id="_7" name="=" returns="_13" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1">
+ <OperatorMethod id="_7" name="=" returns="_13" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throws="")?>
<Argument type="_12" location="f1:1" file="f1" line="1"/>
</OperatorMethod>
- <Constructor id="_8" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"/>
- <Destructor id="_9" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"/>
+ <Constructor id="_8" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throws="")?/>
+ <Destructor id="_9" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throws="")?/>
<FundamentalType id="_10" name="int"/>
<FundamentalType id="_11" name="unsigned int"/>
<ReferenceType id="_12" type="_1c"/>