[libcxx-commits] [libcxx] r363689 - [libc++] Re-apply XFAIL to is_base_of test that was inadvertently reverted

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jun 18 08:01:59 PDT 2019


Author: ldionne
Date: Tue Jun 18 08:01:59 2019
New Revision: 363689

URL: http://llvm.org/viewvc/llvm-project?rev=363689&view=rev
Log:
[libc++] Re-apply XFAIL to is_base_of test that was inadvertently reverted

Modified:
    libcxx/trunk/test/std/utilities/meta/meta.rel/is_base_of_union.pass.cpp

Modified: libcxx/trunk/test/std/utilities/meta/meta.rel/is_base_of_union.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.rel/is_base_of_union.pass.cpp?rev=363689&r1=363688&r2=363689&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.rel/is_base_of_union.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.rel/is_base_of_union.pass.cpp Tue Jun 18 08:01:59 2019
@@ -14,10 +14,11 @@
 
 #include "test_macros.h"
 
-//	Clang before v9 and apple-clang up to and including v10 do not
+//  Clang before v9 and apple-clang up to and including v10 do not
 //  report that unions are never base classes - nor can they have bases.
 //  See https://reviews.llvm.org/D61858
-// XFAIL: apple-clang-6.0, apple-clang-7.0, apple-clang-8.0, apple-clang-9.0, apple-clang-10.0
+// XFAIL: apple-clang-6.0, apple-clang-7.0, apple-clang-8.0
+// XFAIL: apple-clang-9.0, apple-clang-9.1, apple-clang-10.0
 // XFAIL: clang-3.3, clang-3.4, clang-3.5, clang-3.6, clang-3.7, clang-3.8, clang-3.9
 // XFAIL: clang-4.0, clang-5.0, clang-6.0, clang-7.0, clang-8.0
 
@@ -54,7 +55,7 @@ struct I1 {};
 
 int main(int, char**)
 {
-//	A union is never the base class of anything (including incomplete types)
+    // A union is never the base class of anything (including incomplete types)
     test_is_not_base_of<U0, B>();
     test_is_not_base_of<U0, B1>();
     test_is_not_base_of<U0, B2>();
@@ -71,7 +72,7 @@ int main(int, char**)
     test_is_not_base_of<I0, int>();
     test_is_not_base_of<I1, int>();
 
-//	A union never has base classes (including incomplete types)
+    // A union never has base classes (including incomplete types)
     test_is_not_base_of<B,  U0>();
     test_is_not_base_of<B1, U0>();
     test_is_not_base_of<B2, U0>();




More information about the libcxx-commits mailing list