[libcxx-commits] [libcxx] 90c7443 - [libc++] tolerate missing diagnostic with modules enabled

Eric Fiselier via libcxx-commits libcxx-commits at lists.llvm.org
Sat Mar 21 13:28:12 PDT 2020


Author: Eric Fiselier
Date: 2020-03-21T16:27:50-04:00
New Revision: 90c74435d366c531f8c33d9f81408571b9281353

URL: https://github.com/llvm/llvm-project/commit/90c74435d366c531f8c33d9f81408571b9281353
DIFF: https://github.com/llvm/llvm-project/commit/90c74435d366c531f8c33d9f81408571b9281353.diff

LOG: [libc++] tolerate missing diagnostic with modules enabled

Added: 
    

Modified: 
    libcxx/test/std/containers/sequences/array/array.creation/to_array.fail.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/containers/sequences/array/array.creation/to_array.fail.cpp b/libcxx/test/std/containers/sequences/array/array.creation/to_array.fail.cpp
index 7d8e134044c9..9e194cf2254f 100644
--- a/libcxx/test/std/containers/sequences/array/array.creation/to_array.fail.cpp
+++ b/libcxx/test/std/containers/sequences/array/array.creation/to_array.fail.cpp
@@ -20,7 +20,7 @@ int main(int, char**) {
     // expected-error at array:* {{to_array does not accept multidimensional arrays}}
     // expected-error at array:* {{to_array requires copy constructible elements}}
     // expected-error at array:* 3 {{cannot initialize}}
-    // expected-error at array:* {{suggest braces}}
+    // expected-error at array:* 0+ {{suggest braces}}
     std::to_array(source); // expected-note {{requested here}}
   }
 


        


More information about the libcxx-commits mailing list