[libcxx-commits] [clang] [libcxx] [Clang] Add detailed notes explaining why `is_constructible` evaluates to false (Revert 16d5db7) (PR #151935)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 4 11:44:45 PDT 2025


================
@@ -43,6 +43,7 @@ void cant_construct_data_handle_type() {
   int data;
   std::mdspan<int, std::extents<int>, std::layout_right, convertible_accessor_but_not_handle<int>> m_nc(&data);
   // expected-error-re@*:* {{{{.*}}no matching constructor for initialization of {{.*}} (aka 'not_const_convertible_handle<const int>')}}
+  // expected-error@*:* 0-1{{no matching constructor for initialization of 'not_const_convertible_handle<const int>'}}
----------------
EricWF wrote:

Urg. Thanks for fixing these tests. They appear to be way to brittle to changes in compiler diagnostics. 

https://github.com/llvm/llvm-project/pull/151935


More information about the libcxx-commits mailing list