[clang] [libcxx] [libc++][Clang] Updated the diagnostics checks in libc++ tests. (PR #144220)
Nikolas Klauser via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 16 00:51:52 PDT 2025
================
@@ -124,8 +126,8 @@ void test() {
#if _LIBCPP_HAS_EXCEPTIONS
// expected-error-re@*:* {{call to deleted constructor of{{.*}}}}
// expected-error-re@*:* {{call to deleted constructor of{{.*}}}}
- // expected-error-re@*:* {{call to deleted constructor of{{.*}}}}
- // expected-error-re@*:* {{call to deleted constructor of{{.*}}}}
+ // expected-error-re@*:* 0-1{{call to deleted constructor of{{.*}}}}
+ // expected-error-re@*:* 0-1{{call to deleted constructor of{{.*}}}}
----------------
philnik777 wrote:
If the total number of diagnostics stays the same, can't we just keep the `expected-error` the same?
https://github.com/llvm/llvm-project/pull/144220
More information about the cfe-commits
mailing list