summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-08-28 19:37:36 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-29 15:14:30 (GMT)
commitd78e08ee50b25e851d1dd2143d4d132baf6c4f3e (patch)
tree928cc643989f12cbe82d1069f56a732af9e02780 /test
parentaa7043ceee3e6f7a68c36d2cf9286ce4dac440da (diff)
downloadCastXML-d78e08ee50b25e851d1dd2143d4d132baf6c4f3e.zip
CastXML-d78e08ee50b25e851d1dd2143d4d132baf6c4f3e.tar.gz
CastXML-d78e08ee50b25e851d1dd2143d4d132baf6c4f3e.tar.bz2
test: Update expected XML output for LLVM/Clang 9.0
The format of a lambda initializer changed slightly. Update our regex.
Diffstat (limited to 'test')
-rw-r--r--test/expect/castxml1.any.Variable-lambda.xml.txt2
-rw-r--r--test/expect/gccxml.any.Variable-lambda.xml.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/expect/castxml1.any.Variable-lambda.xml.txt b/test/expect/castxml1.any.Variable-lambda.xml.txt
index 54edf13..f0f3eb1 100644
--- a/test/expect/castxml1.any.Variable-lambda.xml.txt
+++ b/test/expect/castxml1.any.Variable-lambda.xml.txt
@@ -1,6 +1,6 @@
^<\?xml version="1.0"\?>
<CastXML[^>]*>
- <Variable id="_1" name="start" type="_2" init="\[\] \(\) [^"]*" context="_3" location="f1:1" file="f1" line="1" mangled="[^"]+"/>
+ <Variable id="_1" name="start" type="_2" init="\[\] ?\(\) [^"]*" context="_3" location="f1:1" file="f1" line="1" mangled="[^"]+"/>
<Class id="_2" context="_3" location="f1:1" file="f1" line="1" size="[0-9]+" align="[0-9]+"/>
<Namespace id="_3" name="::"/>
<File id="f1" name=".*/test/input/Variable-lambda.cxx"/>
diff --git a/test/expect/gccxml.any.Variable-lambda.xml.txt b/test/expect/gccxml.any.Variable-lambda.xml.txt
index 81d6600..ed1bb8f 100644
--- a/test/expect/gccxml.any.Variable-lambda.xml.txt
+++ b/test/expect/gccxml.any.Variable-lambda.xml.txt
@@ -1,6 +1,6 @@
^<\?xml version="1.0"\?>
<GCC_XML[^>]*>
- <Variable id="_1" name="start" type="_2" init="\[\] \(\) [^"]*" context="_3" location="f1:1" file="f1" line="1" mangled="[^"]+"/>
+ <Variable id="_1" name="start" type="_2" init="\[\] ?\(\) [^"]*" context="_3" location="f1:1" file="f1" line="1" mangled="[^"]+"/>
<Class id="_2" context="_3" location="f1:1" file="f1" line="1" size="[0-9]+" align="[0-9]+"/>
<Namespace id="_3" name="::"/>
<File id="f1" name=".*/test/input/Variable-lambda.cxx"/>