[libcxx] r255519 - K-Ballo pointed out a mistake in the add_lvalue_ref tests I checked in; now more of them are passing. Thanks

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 14 10:11:52 PST 2015


Author: marshall
Date: Mon Dec 14 12:11:51 2015
New Revision: 255519

URL: http://llvm.org/viewvc/llvm-project?rev=255519&view=rev
Log:
K-Ballo pointed out a mistake in the add_lvalue_ref tests I checked in; now more of them are passing. Thanks

Modified:
    libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.ref/add_lvalue_ref.pass.cpp

Modified: libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.ref/add_lvalue_ref.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.ref/add_lvalue_ref.pass.cpp?rev=255519&r1=255518&r2=255519&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.ref/add_lvalue_ref.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.ref/add_lvalue_ref.pass.cpp Mon Dec 14 12:11:51 2015
@@ -52,8 +52,8 @@ int main()
     test_add_lvalue_reference<int*, int*&>();
     test_add_lvalue_reference<const int*, const int*&>();
 
-//	LWG 2101 specifically talks about add_lvalue_reference and functions.
-//	The term of art is "a referenceable type", which a cv- or ref-qualified function is not.
+//  LWG 2101 specifically talks about add_lvalue_reference and functions.
+//  The term of art is "a referenceable type", which a cv- or ref-qualified function is not.
     test_function0<void()>();
 //     test_function1<void() const>();
 //     test_function1<void() &>();
@@ -62,9 +62,9 @@ int main()
 //     test_function1<void() const &&>();
 
     test_function0<void (Foo::*)()>();
-//     test_function1<void (Foo::*)() const>();
-//     test_function1<void (Foo::*)() &>();
-//     test_function1<void (Foo::*)() &&>();
-//     test_function1<void (Foo::*)() const &>();
-//     test_function1<void (Foo::*)() const &&>();
+    test_function0<void (Foo::*)() const>();
+    test_function0<void (Foo::*)() &>();
+    test_function0<void (Foo::*)() &&>();
+    test_function0<void (Foo::*)() const &>();
+    test_function0<void (Foo::*)() const &&>();
 }




More information about the cfe-commits mailing list