[libcxx] r307450 - Fix diagnostic in verify test to match new Clang output

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 7 16:02:31 PDT 2017


Author: ericwf
Date: Fri Jul  7 16:02:30 2017
New Revision: 307450

URL: http://llvm.org/viewvc/llvm-project?rev=307450&view=rev
Log:
Fix diagnostic in verify test to match new Clang output

Modified:
    libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor2.fail.cpp

Modified: libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor2.fail.cpp?rev=307450&r1=307449&r2=307450&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor2.fail.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.task/futures.task.members/ctor2.fail.cpp Fri Jul  7 16:02:30 2017
@@ -30,5 +30,5 @@ typedef volatile std::packaged_task<A(in
 int main()
 {
     PT p { std::allocator_arg_t{}, test_allocator<A>{}, VPT {}}; // expected-error {{no matching constructor for initialization of 'PT' (aka 'packaged_task<A (int, char)>')}}
-    // expected-note at future:* 1 {{candidate template ignored: disabled by 'enable_if'}}
+    // expected-note-re at future:* 1 {{candidate template ignored: {{(disabled by 'enable_if')|(requirement '.*' was not satisfied)}}}}
 }




More information about the cfe-commits mailing list