[llvm-branch-commits] [clang] [libcxx] [PATCH 3/7] [clang] improve NestedNameSpecifier: test changes (PR #148014)
Louis Dionne via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Aug 1 10:06:25 PDT 2025
================
@@ -25,9 +25,9 @@ int main(int, char**) {
{
std::multimap<int, int, std::less<int>, std::allocator<int>> s1;
std::multimap<int, int, std::less<int>, test_allocator<int>> s2;
- // expected-error-re@*:* {{static assertion failed due to requirement 'is_same<int, std::pair<const int, int>>::value'{{.*}}Allocator::value_type must be same type as value_type}}
+ // expected-error-re@*:* {{static assertion failed due to requirement '{{(std::)?}}is_same<int, std::pair<const int, int>>::value'{{.*}}Allocator::value_type must be same type as value_type}}
s1 <=> s2;
- // expected-error-re@*:* {{static assertion failed due to requirement 'is_same<int, std::pair<const int, int>>::value'{{.*}}Allocator::value_type must be same type as value_type}}
+ // expected-error-re@*:* {{static assertion failed due to requirement '{{(std::)?}}is_same<int, std::pair<const int, int>>::value'{{.*}}Allocator::value_type must be same type as value_type}}
----------------
ldionne wrote:
```suggestion
// expected-error-re@*:* {{static assertion failed due to requirement {{.+}}Allocator::value_type must be same type as value_type}}
```
https://github.com/llvm/llvm-project/pull/148014
More information about the llvm-branch-commits
mailing list