https://github.com/snikitav created https://github.com/llvm/llvm-project/pull/74223
Currently windows build fails with: ``` # | error: 'cxx98-14-error' diagnostics expected but not seen: # | File C:\ws\src\clang\test\CXX\drs\dr2xx.cpp Line 1297 (directive at C:\ws\src\clang\test\CXX\drs\dr2xx.cpp:1301): {{conversion from 'T' to 'unsigned (long|int)' is ambiguous}} ``` Obviously, there is an excessive pair of brackets >From 17cb937a233290627ea90778a0fafb968f03091b Mon Sep 17 00:00:00 2001 From: Sizov Nikita <s.nikit...@gmail.com> Date: Sun, 3 Dec 2023 06:56:08 +0300 Subject: [PATCH] Fix crash for windows clang unittest --- clang/test/CXX/drs/dr2xx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/CXX/drs/dr2xx.cpp b/clang/test/CXX/drs/dr2xx.cpp index 4dd6d7599f2a0..170753e5efce4 100644 --- a/clang/test/CXX/drs/dr2xx.cpp +++ b/clang/test/CXX/drs/dr2xx.cpp @@ -1298,7 +1298,7 @@ namespace dr299 { // dr299: 2.8 c++11 // cxx98-11-error@#dr299-q {{ambiguous conversion of array size expression of type 'T' to an integral or enumeration type}} // cxx98-11-note@#dr299-int {{conversion to integral type 'int' declared here}} // cxx98-11-note@#dr299-ushort {{conversion to integral type 'unsigned short' declared here}} - // since-cxx14-error-re@#dr299-q {{{{conversion from 'T' to 'unsigned (long|int)' is ambiguous}}}} + // since-cxx14-error-re@#dr299-q {{conversion from 'T' to 'unsigned (long|int)' is ambiguous}} // since-cxx14-note@#dr299-int {{candidate function}} // since-cxx14-note@#dr299-ushort {{candidate function}} } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits