Skip to content
Commits on Source (3)
castxml (0.2.0-4) unstable; urgency=medium
[ Gert Wollny ]
* d/control: Use llvm-9-dev and also use libclang-9-dev to
fix problems with g++-9
* d/p/0003: Add patch to fix expected output with llvm-9
-- Gert Wollny <gewo@debian.org> Thu, 14 Nov 2019 07:59:52 +0100
castxml (0.2.0-3) unstable; urgency=medium
[ Steven Robbins ]
......
......@@ -6,8 +6,8 @@ Priority: optional
Build-Depends: debhelper (>= 10),
cmake,
help2man,
libclang-dev,
llvm-dev,
libclang-9-dev,
llvm-9-dev,
libedit-dev,
zlib1g-dev
Standards-Version: 4.1.5
......
commit d78e08ee50b25e851d1dd2143d4d132baf6c4f3e
Author: Brad King <brad.king@kitware.com>
Date: Wed Aug 28 15:37:36 2019 -0400
test: Update expected XML output for LLVM/Clang 9.0
The format of a lambda initializer changed slightly. Update our regex.
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"/>
0001-fix-version-test-to-allow-text-before-clang.patch
0002-dont-install-license-file.patch
0003-Link-against-libatomic.patch
0004-correct-expected-for-clang9.patch