[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. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@302945 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user