[libcxx] r298706 - XFAIL the std::byte tests on a bunch of old clang versions, because they don't like 'std::byte b1{1}'

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 24 09:17:20 PDT 2017


Author: marshall
Date: Fri Mar 24 11:17:20 2017
New Revision: 298706

URL: http://llvm.org/viewvc/llvm-project?rev=298706&view=rev
Log:
XFAIL the std::byte tests on a bunch of old clang versions, because they don't like 'std::byte b1{1}'

Modified:
    libcxx/trunk/test/std/language.support/support.types/byteops/and.assign.pass.cpp
    libcxx/trunk/test/std/language.support/support.types/byteops/and.pass.cpp
    libcxx/trunk/test/std/language.support/support.types/byteops/lshift.assign.fail.cpp
    libcxx/trunk/test/std/language.support/support.types/byteops/lshift.assign.pass.cpp
    libcxx/trunk/test/std/language.support/support.types/byteops/lshift.fail.cpp
    libcxx/trunk/test/std/language.support/support.types/byteops/lshift.pass.cpp
    libcxx/trunk/test/std/language.support/support.types/byteops/not.pass.cpp
    libcxx/trunk/test/std/language.support/support.types/byteops/or.assign.pass.cpp
    libcxx/trunk/test/std/language.support/support.types/byteops/or.pass.cpp
    libcxx/trunk/test/std/language.support/support.types/byteops/rshift.assign.fail.cpp
    libcxx/trunk/test/std/language.support/support.types/byteops/rshift.assign.pass.cpp
    libcxx/trunk/test/std/language.support/support.types/byteops/rshift.fail.cpp
    libcxx/trunk/test/std/language.support/support.types/byteops/rshift.pass.cpp
    libcxx/trunk/test/std/language.support/support.types/byteops/to_integer.fail.cpp
    libcxx/trunk/test/std/language.support/support.types/byteops/to_integer.pass.cpp
    libcxx/trunk/test/std/language.support/support.types/byteops/xor.assign.pass.cpp
    libcxx/trunk/test/std/language.support/support.types/byteops/xor.pass.cpp

Modified: libcxx/trunk/test/std/language.support/support.types/byteops/and.assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/and.assign.pass.cpp?rev=298706&r1=298705&r2=298706&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.types/byteops/and.assign.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.types/byteops/and.assign.pass.cpp Fri Mar 24 11:17:20 2017
@@ -11,6 +11,9 @@
 #include <test_macros.h>
 
 // UNSUPPORTED: c++98, c++03, c++11, c++14
+// The following compilers don't like "std::byte b1{1}"
+// XFAIL: clang-3.5, clang-3.6, clang-3.7, clang-3.8
+// XFAIL: apple-clang-6, apple-clang-7, apple-clang-8.0
 
 // constexpr byte& operator &=(byte l, byte r) noexcept;
 

Modified: libcxx/trunk/test/std/language.support/support.types/byteops/and.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/and.pass.cpp?rev=298706&r1=298705&r2=298706&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.types/byteops/and.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.types/byteops/and.pass.cpp Fri Mar 24 11:17:20 2017
@@ -11,6 +11,9 @@
 #include <test_macros.h>
 
 // UNSUPPORTED: c++98, c++03, c++11, c++14
+// The following compilers don't like "std::byte b1{1}"
+// XFAIL: clang-3.5, clang-3.6, clang-3.7, clang-3.8
+// XFAIL: apple-clang-6, apple-clang-7, apple-clang-8.0
 
 // constexpr byte operator&(byte l, byte r) noexcept;
 

Modified: libcxx/trunk/test/std/language.support/support.types/byteops/lshift.assign.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/lshift.assign.fail.cpp?rev=298706&r1=298705&r2=298706&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.types/byteops/lshift.assign.fail.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.types/byteops/lshift.assign.fail.cpp Fri Mar 24 11:17:20 2017
@@ -11,6 +11,9 @@
 #include <test_macros.h>
 
 // UNSUPPORTED: c++98, c++03, c++11, c++14
+// The following compilers don't like "std::byte b1{1}"
+// XFAIL: clang-3.5, clang-3.6, clang-3.7, clang-3.8
+// XFAIL: apple-clang-6, apple-clang-7, apple-clang-8.0
 
 // template <class IntegerType>
 //   constexpr byte& operator<<=(byte& b, IntegerType shift) noexcept;

Modified: libcxx/trunk/test/std/language.support/support.types/byteops/lshift.assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/lshift.assign.pass.cpp?rev=298706&r1=298705&r2=298706&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.types/byteops/lshift.assign.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.types/byteops/lshift.assign.pass.cpp Fri Mar 24 11:17:20 2017
@@ -11,6 +11,9 @@
 #include <test_macros.h>
 
 // UNSUPPORTED: c++98, c++03, c++11, c++14
+// The following compilers don't like "std::byte b1{1}"
+// XFAIL: clang-3.5, clang-3.6, clang-3.7, clang-3.8
+// XFAIL: apple-clang-6, apple-clang-7, apple-clang-8.0
 
 // template <class IntegerType>
 //   constexpr byte& operator<<=(byte& b, IntegerType shift) noexcept;

Modified: libcxx/trunk/test/std/language.support/support.types/byteops/lshift.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/lshift.fail.cpp?rev=298706&r1=298705&r2=298706&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.types/byteops/lshift.fail.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.types/byteops/lshift.fail.cpp Fri Mar 24 11:17:20 2017
@@ -11,6 +11,9 @@
 #include <test_macros.h>
 
 // UNSUPPORTED: c++98, c++03, c++11, c++14
+// The following compilers don't like "std::byte b1{1}"
+// XFAIL: clang-3.5, clang-3.6, clang-3.7, clang-3.8
+// XFAIL: apple-clang-6, apple-clang-7, apple-clang-8.0
 
 // template <class IntegerType>
 //    constexpr byte operator <<(byte b, IntegerType shift) noexcept;

Modified: libcxx/trunk/test/std/language.support/support.types/byteops/lshift.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/lshift.pass.cpp?rev=298706&r1=298705&r2=298706&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.types/byteops/lshift.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.types/byteops/lshift.pass.cpp Fri Mar 24 11:17:20 2017
@@ -11,6 +11,9 @@
 #include <test_macros.h>
 
 // UNSUPPORTED: c++98, c++03, c++11, c++14
+// The following compilers don't like "std::byte b1{1}"
+// XFAIL: clang-3.5, clang-3.6, clang-3.7, clang-3.8
+// XFAIL: apple-clang-6, apple-clang-7, apple-clang-8.0
 
 // template <class IntegerType>
 //    constexpr byte operator <<(byte b, IntegerType shift) noexcept;

Modified: libcxx/trunk/test/std/language.support/support.types/byteops/not.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/not.pass.cpp?rev=298706&r1=298705&r2=298706&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.types/byteops/not.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.types/byteops/not.pass.cpp Fri Mar 24 11:17:20 2017
@@ -11,6 +11,9 @@
 #include <test_macros.h>
 
 // UNSUPPORTED: c++98, c++03, c++11, c++14
+// The following compilers don't like "std::byte b1{1}"
+// XFAIL: clang-3.5, clang-3.6, clang-3.7, clang-3.8
+// XFAIL: apple-clang-6, apple-clang-7, apple-clang-8.0
 
 // constexpr byte operator~(byte b) noexcept;
 

Modified: libcxx/trunk/test/std/language.support/support.types/byteops/or.assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/or.assign.pass.cpp?rev=298706&r1=298705&r2=298706&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.types/byteops/or.assign.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.types/byteops/or.assign.pass.cpp Fri Mar 24 11:17:20 2017
@@ -11,6 +11,9 @@
 #include <test_macros.h>
 
 // UNSUPPORTED: c++98, c++03, c++11, c++14
+// The following compilers don't like "std::byte b1{1}"
+// XFAIL: clang-3.5, clang-3.6, clang-3.7, clang-3.8
+// XFAIL: apple-clang-6, apple-clang-7, apple-clang-8.0
 
 // constexpr byte& operator |=(byte l, byte r) noexcept;
 

Modified: libcxx/trunk/test/std/language.support/support.types/byteops/or.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/or.pass.cpp?rev=298706&r1=298705&r2=298706&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.types/byteops/or.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.types/byteops/or.pass.cpp Fri Mar 24 11:17:20 2017
@@ -11,6 +11,9 @@
 #include <test_macros.h>
 
 // UNSUPPORTED: c++98, c++03, c++11, c++14
+// The following compilers don't like "std::byte b1{1}"
+// XFAIL: clang-3.5, clang-3.6, clang-3.7, clang-3.8
+// XFAIL: apple-clang-6, apple-clang-7, apple-clang-8.0
 
 // constexpr byte operator|(byte l, byte r) noexcept;
 

Modified: libcxx/trunk/test/std/language.support/support.types/byteops/rshift.assign.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/rshift.assign.fail.cpp?rev=298706&r1=298705&r2=298706&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.types/byteops/rshift.assign.fail.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.types/byteops/rshift.assign.fail.cpp Fri Mar 24 11:17:20 2017
@@ -11,6 +11,9 @@
 #include <test_macros.h>
 
 // UNSUPPORTED: c++98, c++03, c++11, c++14
+// The following compilers don't like "std::byte b1{1}"
+// XFAIL: clang-3.5, clang-3.6, clang-3.7, clang-3.8
+// XFAIL: apple-clang-6, apple-clang-7, apple-clang-8.0
 
 // template <class IntegerType>
 //   constexpr byte operator>>(byte& b, IntegerType shift) noexcept;

Modified: libcxx/trunk/test/std/language.support/support.types/byteops/rshift.assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/rshift.assign.pass.cpp?rev=298706&r1=298705&r2=298706&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.types/byteops/rshift.assign.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.types/byteops/rshift.assign.pass.cpp Fri Mar 24 11:17:20 2017
@@ -11,6 +11,9 @@
 #include <test_macros.h>
 
 // UNSUPPORTED: c++98, c++03, c++11, c++14
+// The following compilers don't like "std::byte b1{1}"
+// XFAIL: clang-3.5, clang-3.6, clang-3.7, clang-3.8
+// XFAIL: apple-clang-6, apple-clang-7, apple-clang-8.0
 
 // template <class IntegerType>
 //   constexpr byte& operator>>=(byte& b, IntegerType shift) noexcept;

Modified: libcxx/trunk/test/std/language.support/support.types/byteops/rshift.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/rshift.fail.cpp?rev=298706&r1=298705&r2=298706&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.types/byteops/rshift.fail.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.types/byteops/rshift.fail.cpp Fri Mar 24 11:17:20 2017
@@ -11,6 +11,9 @@
 #include <test_macros.h>
 
 // UNSUPPORTED: c++98, c++03, c++11, c++14
+// The following compilers don't like "std::byte b1{1}"
+// XFAIL: clang-3.5, clang-3.6, clang-3.7, clang-3.8
+// XFAIL: apple-clang-6, apple-clang-7, apple-clang-8.0
 
 // template <class IntegerType>
 //    constexpr byte operator >>(byte b, IntegerType shift) noexcept;

Modified: libcxx/trunk/test/std/language.support/support.types/byteops/rshift.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/rshift.pass.cpp?rev=298706&r1=298705&r2=298706&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.types/byteops/rshift.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.types/byteops/rshift.pass.cpp Fri Mar 24 11:17:20 2017
@@ -11,6 +11,9 @@
 #include <test_macros.h>
 
 // UNSUPPORTED: c++98, c++03, c++11, c++14
+// The following compilers don't like "std::byte b1{1}"
+// XFAIL: clang-3.5, clang-3.6, clang-3.7, clang-3.8
+// XFAIL: apple-clang-6, apple-clang-7, apple-clang-8.0
 
 // template <class IntegerType>
 //    constexpr byte operator <<(byte b, IntegerType shift) noexcept;

Modified: libcxx/trunk/test/std/language.support/support.types/byteops/to_integer.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/to_integer.fail.cpp?rev=298706&r1=298705&r2=298706&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.types/byteops/to_integer.fail.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.types/byteops/to_integer.fail.cpp Fri Mar 24 11:17:20 2017
@@ -11,6 +11,9 @@
 #include <test_macros.h>
 
 // UNSUPPORTED: c++98, c++03, c++11, c++14
+// The following compilers don't like "std::byte b1{1}"
+// XFAIL: clang-3.5, clang-3.6, clang-3.7, clang-3.8
+// XFAIL: apple-clang-6, apple-clang-7, apple-clang-8.0
 
 // template <class IntegerType>
 //    constexpr IntegerType to_integer(byte b) noexcept;

Modified: libcxx/trunk/test/std/language.support/support.types/byteops/to_integer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/to_integer.pass.cpp?rev=298706&r1=298705&r2=298706&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.types/byteops/to_integer.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.types/byteops/to_integer.pass.cpp Fri Mar 24 11:17:20 2017
@@ -11,6 +11,9 @@
 #include <test_macros.h>
 
 // UNSUPPORTED: c++98, c++03, c++11, c++14
+// The following compilers don't like "std::byte b1{1}"
+// XFAIL: clang-3.5, clang-3.6, clang-3.7, clang-3.8
+// XFAIL: apple-clang-6, apple-clang-7, apple-clang-8.0
 
 // template <class IntegerType>
 //    constexpr IntegerType to_integer(byte b) noexcept;

Modified: libcxx/trunk/test/std/language.support/support.types/byteops/xor.assign.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/xor.assign.pass.cpp?rev=298706&r1=298705&r2=298706&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.types/byteops/xor.assign.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.types/byteops/xor.assign.pass.cpp Fri Mar 24 11:17:20 2017
@@ -11,6 +11,9 @@
 #include <test_macros.h>
 
 // UNSUPPORTED: c++98, c++03, c++11, c++14
+// The following compilers don't like "std::byte b1{1}"
+// XFAIL: clang-3.5, clang-3.6, clang-3.7, clang-3.8
+// XFAIL: apple-clang-6, apple-clang-7, apple-clang-8.0
 
 // constexpr byte& operator ^=(byte l, byte r) noexcept;
 

Modified: libcxx/trunk/test/std/language.support/support.types/byteops/xor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/xor.pass.cpp?rev=298706&r1=298705&r2=298706&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.types/byteops/xor.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.types/byteops/xor.pass.cpp Fri Mar 24 11:17:20 2017
@@ -11,6 +11,9 @@
 #include <test_macros.h>
 
 // UNSUPPORTED: c++98, c++03, c++11, c++14
+// The following compilers don't like "std::byte b1{1}"
+// XFAIL: clang-3.5, clang-3.6, clang-3.7, clang-3.8
+// XFAIL: apple-clang-6, apple-clang-7, apple-clang-8.0
 
 // constexpr byte operator^(byte l, byte r) noexcept;
 




More information about the cfe-commits mailing list