diff options
| author | Casey Carter <Casey@Carter.net> | 2017-05-12 20:33:41 +0000 |
|---|---|---|
| committer | Casey Carter <Casey@Carter.net> | 2017-05-12 20:33:41 +0000 |
| commit | 7bba58f24df96230eebf3f6995902cda357d606c (patch) | |
| tree | 77f3a0faa3abda952ea27d0026ab1595d93035d0 /libcxx/test/std/language.support | |
| parent | ef475c4d7183a32c35e753f579e98da331867123 (diff) | |
| download | bcm5719-llvm-7bba58f24df96230eebf3f6995902cda357d606c.tar.gz bcm5719-llvm-7bba58f24df96230eebf3f6995902cda357d606c.zip | |
[test] Avoid P0138R2, direct-list-init of fixed enums from integers, part 2/3.
This C++17 Core Language feature isn't necessary when testing std::byte.
It's a minor convenience, but it limits test coverage to very new compilers.
This part activates the tests for more compilers.
llvm-svn: 302945
Diffstat (limited to 'libcxx/test/std/language.support')
15 files changed, 0 insertions, 45 deletions
diff --git a/libcxx/test/std/language.support/support.types/byteops/and.assign.pass.cpp b/libcxx/test/std/language.support/support.types/byteops/and.assign.pass.cpp index 1c9790e2ca9..ec1c3805a6c 100644 --- a/libcxx/test/std/language.support/support.types/byteops/and.assign.pass.cpp +++ b/libcxx/test/std/language.support/support.types/byteops/and.assign.pass.cpp @@ -11,9 +11,6 @@ #include <test_macros.h> // UNSUPPORTED: c++98, c++03, c++11, c++14 -// The following compilers don't like "std::byte b1{1}" -// UNSUPPORTED: clang-3.5, clang-3.6, clang-3.7, clang-3.8 -// UNSUPPORTED: apple-clang-6, apple-clang-7, apple-clang-8.0 // constexpr byte& operator &=(byte l, byte r) noexcept; diff --git a/libcxx/test/std/language.support/support.types/byteops/and.pass.cpp b/libcxx/test/std/language.support/support.types/byteops/and.pass.cpp index 7ed80a0085a..6c5419cfc2a 100644 --- a/libcxx/test/std/language.support/support.types/byteops/and.pass.cpp +++ b/libcxx/test/std/language.support/support.types/byteops/and.pass.cpp @@ -11,9 +11,6 @@ #include <test_macros.h> // UNSUPPORTED: c++98, c++03, c++11, c++14 -// The following compilers don't like "std::byte b1{1}" -// UNSUPPORTED: clang-3.5, clang-3.6, clang-3.7, clang-3.8 -// UNSUPPORTED: apple-clang-6, apple-clang-7, apple-clang-8.0 // constexpr byte operator&(byte l, byte r) noexcept; diff --git a/libcxx/test/std/language.support/support.types/byteops/lshift.assign.pass.cpp b/libcxx/test/std/language.support/support.types/byteops/lshift.assign.pass.cpp index f19a02163c8..abfeebf2b02 100644 --- a/libcxx/test/std/language.support/support.types/byteops/lshift.assign.pass.cpp +++ b/libcxx/test/std/language.support/support.types/byteops/lshift.assign.pass.cpp @@ -11,9 +11,6 @@ #include <test_macros.h> // UNSUPPORTED: c++98, c++03, c++11, c++14 -// The following compilers don't like "std::byte b1{1}" -// UNSUPPORTED: clang-3.5, clang-3.6, clang-3.7, clang-3.8 -// UNSUPPORTED: apple-clang-6, apple-clang-7, apple-clang-8.0 // template <class IntegerType> // constexpr byte& operator<<=(byte& b, IntegerType shift) noexcept; diff --git a/libcxx/test/std/language.support/support.types/byteops/lshift.fail.cpp b/libcxx/test/std/language.support/support.types/byteops/lshift.fail.cpp index e2f7c95c1bf..707258c6df3 100644 --- a/libcxx/test/std/language.support/support.types/byteops/lshift.fail.cpp +++ b/libcxx/test/std/language.support/support.types/byteops/lshift.fail.cpp @@ -11,9 +11,6 @@ #include <test_macros.h> // UNSUPPORTED: c++98, c++03, c++11, c++14 -// The following compilers don't like "std::byte b1{1}" -// UNSUPPORTED: clang-3.5, clang-3.6, clang-3.7, clang-3.8 -// UNSUPPORTED: apple-clang-6, apple-clang-7, apple-clang-8.0 // template <class IntegerType> // constexpr byte operator <<(byte b, IntegerType shift) noexcept; diff --git a/libcxx/test/std/language.support/support.types/byteops/lshift.pass.cpp b/libcxx/test/std/language.support/support.types/byteops/lshift.pass.cpp index 831673aacc9..15ad796cbe9 100644 --- a/libcxx/test/std/language.support/support.types/byteops/lshift.pass.cpp +++ b/libcxx/test/std/language.support/support.types/byteops/lshift.pass.cpp @@ -11,9 +11,6 @@ #include <test_macros.h> // UNSUPPORTED: c++98, c++03, c++11, c++14 -// The following compilers don't like "std::byte b1{1}" -// UNSUPPORTED: clang-3.5, clang-3.6, clang-3.7, clang-3.8 -// UNSUPPORTED: apple-clang-6, apple-clang-7, apple-clang-8.0 // template <class IntegerType> // constexpr byte operator <<(byte b, IntegerType shift) noexcept; diff --git a/libcxx/test/std/language.support/support.types/byteops/not.pass.cpp b/libcxx/test/std/language.support/support.types/byteops/not.pass.cpp index 55f26f774cf..53f1d91faf2 100644 --- a/libcxx/test/std/language.support/support.types/byteops/not.pass.cpp +++ b/libcxx/test/std/language.support/support.types/byteops/not.pass.cpp @@ -11,9 +11,6 @@ #include <test_macros.h> // UNSUPPORTED: c++98, c++03, c++11, c++14 -// The following compilers don't like "std::byte b1{1}" -// UNSUPPORTED: clang-3.5, clang-3.6, clang-3.7, clang-3.8 -// UNSUPPORTED: apple-clang-6, apple-clang-7, apple-clang-8.0 // constexpr byte operator~(byte b) noexcept; diff --git a/libcxx/test/std/language.support/support.types/byteops/or.assign.pass.cpp b/libcxx/test/std/language.support/support.types/byteops/or.assign.pass.cpp index 51d983547ad..bb4a84ec6c7 100644 --- a/libcxx/test/std/language.support/support.types/byteops/or.assign.pass.cpp +++ b/libcxx/test/std/language.support/support.types/byteops/or.assign.pass.cpp @@ -11,9 +11,6 @@ #include <test_macros.h> // UNSUPPORTED: c++98, c++03, c++11, c++14 -// The following compilers don't like "std::byte b1{1}" -// UNSUPPORTED: clang-3.5, clang-3.6, clang-3.7, clang-3.8 -// UNSUPPORTED: apple-clang-6, apple-clang-7, apple-clang-8.0 // constexpr byte& operator |=(byte l, byte r) noexcept; diff --git a/libcxx/test/std/language.support/support.types/byteops/or.pass.cpp b/libcxx/test/std/language.support/support.types/byteops/or.pass.cpp index 24e6fe7af22..e2b734982c0 100644 --- a/libcxx/test/std/language.support/support.types/byteops/or.pass.cpp +++ b/libcxx/test/std/language.support/support.types/byteops/or.pass.cpp @@ -11,9 +11,6 @@ #include <test_macros.h> // UNSUPPORTED: c++98, c++03, c++11, c++14 -// The following compilers don't like "std::byte b1{1}" -// UNSUPPORTED: clang-3.5, clang-3.6, clang-3.7, clang-3.8 -// UNSUPPORTED: apple-clang-6, apple-clang-7, apple-clang-8.0 // constexpr byte operator|(byte l, byte r) noexcept; diff --git a/libcxx/test/std/language.support/support.types/byteops/rshift.assign.pass.cpp b/libcxx/test/std/language.support/support.types/byteops/rshift.assign.pass.cpp index 23db61ce3a2..82c611cfdfc 100644 --- a/libcxx/test/std/language.support/support.types/byteops/rshift.assign.pass.cpp +++ b/libcxx/test/std/language.support/support.types/byteops/rshift.assign.pass.cpp @@ -11,9 +11,6 @@ #include <test_macros.h> // UNSUPPORTED: c++98, c++03, c++11, c++14 -// The following compilers don't like "std::byte b1{1}" -// UNSUPPORTED: clang-3.5, clang-3.6, clang-3.7, clang-3.8 -// UNSUPPORTED: apple-clang-6, apple-clang-7, apple-clang-8.0 // template <class IntegerType> // constexpr byte& operator>>=(byte& b, IntegerType shift) noexcept; diff --git a/libcxx/test/std/language.support/support.types/byteops/rshift.fail.cpp b/libcxx/test/std/language.support/support.types/byteops/rshift.fail.cpp index 74f19fdbd2c..8e142dd90a5 100644 --- a/libcxx/test/std/language.support/support.types/byteops/rshift.fail.cpp +++ b/libcxx/test/std/language.support/support.types/byteops/rshift.fail.cpp @@ -11,9 +11,6 @@ #include <test_macros.h> // UNSUPPORTED: c++98, c++03, c++11, c++14 -// The following compilers don't like "std::byte b1{1}" -// UNSUPPORTED: clang-3.5, clang-3.6, clang-3.7, clang-3.8 -// UNSUPPORTED: apple-clang-6, apple-clang-7, apple-clang-8.0 // template <class IntegerType> // constexpr byte operator >>(byte b, IntegerType shift) noexcept; diff --git a/libcxx/test/std/language.support/support.types/byteops/rshift.pass.cpp b/libcxx/test/std/language.support/support.types/byteops/rshift.pass.cpp index 9b1c25872a5..22d399130bb 100644 --- a/libcxx/test/std/language.support/support.types/byteops/rshift.pass.cpp +++ b/libcxx/test/std/language.support/support.types/byteops/rshift.pass.cpp @@ -11,9 +11,6 @@ #include <test_macros.h> // UNSUPPORTED: c++98, c++03, c++11, c++14 -// The following compilers don't like "std::byte b1{1}" -// UNSUPPORTED: clang-3.5, clang-3.6, clang-3.7, clang-3.8 -// UNSUPPORTED: apple-clang-6, apple-clang-7, apple-clang-8.0 // template <class IntegerType> // constexpr byte operator <<(byte b, IntegerType shift) noexcept; diff --git a/libcxx/test/std/language.support/support.types/byteops/to_integer.fail.cpp b/libcxx/test/std/language.support/support.types/byteops/to_integer.fail.cpp index add3168e92f..fb4928956f5 100644 --- a/libcxx/test/std/language.support/support.types/byteops/to_integer.fail.cpp +++ b/libcxx/test/std/language.support/support.types/byteops/to_integer.fail.cpp @@ -11,9 +11,6 @@ #include <test_macros.h> // UNSUPPORTED: c++98, c++03, c++11, c++14 -// The following compilers don't like "std::byte b1{1}" -// UNSUPPORTED: clang-3.5, clang-3.6, clang-3.7, clang-3.8 -// UNSUPPORTED: apple-clang-6, apple-clang-7, apple-clang-8.0 // template <class IntegerType> // constexpr IntegerType to_integer(byte b) noexcept; diff --git a/libcxx/test/std/language.support/support.types/byteops/to_integer.pass.cpp b/libcxx/test/std/language.support/support.types/byteops/to_integer.pass.cpp index 353ef3a4ef4..4f34363447f 100644 --- a/libcxx/test/std/language.support/support.types/byteops/to_integer.pass.cpp +++ b/libcxx/test/std/language.support/support.types/byteops/to_integer.pass.cpp @@ -11,9 +11,6 @@ #include <test_macros.h> // UNSUPPORTED: c++98, c++03, c++11, c++14 -// The following compilers don't like "std::byte b1{1}" -// UNSUPPORTED: clang-3.5, clang-3.6, clang-3.7, clang-3.8 -// UNSUPPORTED: apple-clang-6, apple-clang-7, apple-clang-8.0 // template <class IntegerType> // constexpr IntegerType to_integer(byte b) noexcept; diff --git a/libcxx/test/std/language.support/support.types/byteops/xor.assign.pass.cpp b/libcxx/test/std/language.support/support.types/byteops/xor.assign.pass.cpp index 0d2e7cfd655..6a526da3d71 100644 --- a/libcxx/test/std/language.support/support.types/byteops/xor.assign.pass.cpp +++ b/libcxx/test/std/language.support/support.types/byteops/xor.assign.pass.cpp @@ -11,9 +11,6 @@ #include <test_macros.h> // UNSUPPORTED: c++98, c++03, c++11, c++14 -// The following compilers don't like "std::byte b1{1}" -// UNSUPPORTED: clang-3.5, clang-3.6, clang-3.7, clang-3.8 -// UNSUPPORTED: apple-clang-6, apple-clang-7, apple-clang-8.0 // constexpr byte& operator ^=(byte l, byte r) noexcept; diff --git a/libcxx/test/std/language.support/support.types/byteops/xor.pass.cpp b/libcxx/test/std/language.support/support.types/byteops/xor.pass.cpp index fed71df0154..e8c3b987578 100644 --- a/libcxx/test/std/language.support/support.types/byteops/xor.pass.cpp +++ b/libcxx/test/std/language.support/support.types/byteops/xor.pass.cpp @@ -11,9 +11,6 @@ #include <test_macros.h> // UNSUPPORTED: c++98, c++03, c++11, c++14 -// The following compilers don't like "std::byte b1{1}" -// UNSUPPORTED: clang-3.5, clang-3.6, clang-3.7, clang-3.8 -// UNSUPPORTED: apple-clang-6, apple-clang-7, apple-clang-8.0 // constexpr byte operator^(byte l, byte r) noexcept; |

