[libcxx] r347908 - Revert commit r347904 because it broke older compilers
Marshall Clow
mclow.lists at gmail.com
Thu Nov 29 12:04:48 PST 2018
Author: marshall
Date: Thu Nov 29 12:04:47 2018
New Revision: 347908
URL: http://llvm.org/viewvc/llvm-project?rev=347908&view=rev
Log:
Revert commit r347904 because it broke older compilers
Modified:
libcxx/trunk/include/limits
libcxx/trunk/include/type_traits
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/const_data_members.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/denorm_min.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/digits.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/digits10.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/epsilon.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm_loss.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_infinity.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_quiet_NaN.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_signaling_NaN.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/infinity.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_bounded.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_exact.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_integer.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_modulo.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_signed.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/lowest.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_digits10.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent10.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent10.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/quiet_NaN.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/radix.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/round_error.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/round_style.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/signaling_NaN.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/tinyness_before.pass.cpp
libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp
libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.cat/is_integral.pass.cpp
Modified: libcxx/trunk/include/limits
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/limits?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/include/limits (original)
+++ libcxx/trunk/include/limits Thu Nov 29 12:04:47 2018
@@ -82,7 +82,6 @@ template<> class numeric_limits<cv char>
template<> class numeric_limits<cv signed char>;
template<> class numeric_limits<cv unsigned char>;
template<> class numeric_limits<cv wchar_t>;
-template<> class numeric_limits<cv char8_t>; // C++20
template<> class numeric_limits<cv char16_t>;
template<> class numeric_limits<cv char32_t>;
Modified: libcxx/trunk/include/type_traits
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/type_traits?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/include/type_traits (original)
+++ libcxx/trunk/include/type_traits Thu Nov 29 12:04:47 2018
@@ -709,9 +709,6 @@ template <> struct __libcpp_is_
template <> struct __libcpp_is_integral<signed char> : public true_type {};
template <> struct __libcpp_is_integral<unsigned char> : public true_type {};
template <> struct __libcpp_is_integral<wchar_t> : public true_type {};
-#if _LIBCPP_STD_VER > 17
-template <> struct __libcpp_is_integral<char8_t> : public true_type {};
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
template <> struct __libcpp_is_integral<char16_t> : public true_type {};
template <> struct __libcpp_is_integral<char32_t> : public true_type {};
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/const_data_members.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/const_data_members.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/const_data_members.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/const_data_members.pass.cpp Thu Nov 29 12:04:47 2018
@@ -9,8 +9,6 @@
#include <limits>
-#include "test_macros.h"
-
/*
<limits>:
numeric_limits
@@ -101,14 +99,6 @@ int main()
TEST_NUMERIC_LIMITS(volatile wchar_t)
TEST_NUMERIC_LIMITS(const volatile wchar_t)
-#if TEST_STD_VER > 17
- // char8_t
- TEST_NUMERIC_LIMITS(char8_t)
- TEST_NUMERIC_LIMITS(const char8_t)
- TEST_NUMERIC_LIMITS(volatile char8_t)
- TEST_NUMERIC_LIMITS(const volatile char8_t)
-#endif
-
// char16_t
TEST_NUMERIC_LIMITS(char16_t)
TEST_NUMERIC_LIMITS(const char16_t)
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/denorm_min.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/denorm_min.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/denorm_min.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/denorm_min.pass.cpp Thu Nov 29 12:04:47 2018
@@ -15,8 +15,6 @@
#include <cfloat>
#include <cassert>
-#include "test_macros.h"
-
template <class T>
void
test(T expected)
@@ -34,9 +32,6 @@ int main()
test<signed char>(0);
test<unsigned char>(0);
test<wchar_t>(0);
-#if TEST_STD_VER > 17
- test<char8_t>(0);
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t>(0);
test<char32_t>(0);
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/digits.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/digits.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/digits.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/digits.pass.cpp Thu Nov 29 12:04:47 2018
@@ -14,8 +14,6 @@
#include <limits>
#include <cfloat>
-#include "test_macros.h"
-
template <class T, int expected>
void
test()
@@ -33,9 +31,6 @@ int main()
test<signed char, 7>();
test<unsigned char, 8>();
test<wchar_t, std::numeric_limits<wchar_t>::is_signed ? sizeof(wchar_t)*8-1 : sizeof(wchar_t)*8>();
-#if TEST_STD_VER > 17
- test<char8_t, 8>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, 16>();
test<char32_t, 32>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/digits10.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/digits10.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/digits10.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/digits10.pass.cpp Thu Nov 29 12:04:47 2018
@@ -14,8 +14,6 @@
#include <limits>
#include <cfloat>
-#include "test_macros.h"
-
template <class T, int expected>
void
test()
@@ -37,9 +35,6 @@ int main()
test<signed char, 2>();
test<unsigned char, 2>();
test<wchar_t, 5*sizeof(wchar_t)/2-1>(); // 4 -> 9 and 2 -> 4
-#if TEST_STD_VER > 17
- test<char8_t, 2>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, 4>();
test<char32_t, 9>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/epsilon.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/epsilon.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/epsilon.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/epsilon.pass.cpp Thu Nov 29 12:04:47 2018
@@ -15,8 +15,6 @@
#include <cfloat>
#include <cassert>
-#include "test_macros.h"
-
template <class T>
void
test(T expected)
@@ -34,9 +32,6 @@ int main()
test<signed char>(0);
test<unsigned char>(0);
test<wchar_t>(0);
-#if TEST_STD_VER > 17
- test<char8_t>(0);
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t>(0);
test<char32_t>(0);
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm.pass.cpp Thu Nov 29 12:04:47 2018
@@ -13,8 +13,6 @@
#include <limits>
-#include "test_macros.h"
-
template <class T, std::float_denorm_style expected>
void
test()
@@ -32,9 +30,6 @@ int main()
test<signed char, std::denorm_absent>();
test<unsigned char, std::denorm_absent>();
test<wchar_t, std::denorm_absent>();
-#if TEST_STD_VER > 17
- test<char8_t, std::denorm_absent>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, std::denorm_absent>();
test<char32_t, std::denorm_absent>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm_loss.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm_loss.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm_loss.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_denorm_loss.pass.cpp Thu Nov 29 12:04:47 2018
@@ -13,8 +13,6 @@
#include <limits>
-#include "test_macros.h"
-
template <class T, bool expected>
void
test()
@@ -32,9 +30,6 @@ int main()
test<signed char, false>();
test<unsigned char, false>();
test<wchar_t, false>();
-#if TEST_STD_VER > 17
- test<char8_t, false>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, false>();
test<char32_t, false>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_infinity.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_infinity.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_infinity.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_infinity.pass.cpp Thu Nov 29 12:04:47 2018
@@ -13,8 +13,6 @@
#include <limits>
-#include "test_macros.h"
-
template <class T, bool expected>
void
test()
@@ -32,9 +30,6 @@ int main()
test<signed char, false>();
test<unsigned char, false>();
test<wchar_t, false>();
-#if TEST_STD_VER > 17
- test<char8_t, false>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, false>();
test<char32_t, false>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_quiet_NaN.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_quiet_NaN.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_quiet_NaN.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_quiet_NaN.pass.cpp Thu Nov 29 12:04:47 2018
@@ -13,8 +13,6 @@
#include <limits>
-#include "test_macros.h"
-
template <class T, bool expected>
void
test()
@@ -32,9 +30,6 @@ int main()
test<signed char, false>();
test<unsigned char, false>();
test<wchar_t, false>();
-#if TEST_STD_VER > 17
- test<char8_t, false>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, false>();
test<char32_t, false>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_signaling_NaN.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_signaling_NaN.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_signaling_NaN.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/has_signaling_NaN.pass.cpp Thu Nov 29 12:04:47 2018
@@ -13,8 +13,6 @@
#include <limits>
-#include "test_macros.h"
-
template <class T, bool expected>
void
test()
@@ -32,9 +30,6 @@ int main()
test<signed char, false>();
test<unsigned char, false>();
test<wchar_t, false>();
-#if TEST_STD_VER > 17
- test<char8_t, false>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, false>();
test<char32_t, false>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/infinity.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/infinity.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/infinity.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/infinity.pass.cpp Thu Nov 29 12:04:47 2018
@@ -15,8 +15,6 @@
#include <cfloat>
#include <cassert>
-#include "test_macros.h"
-
template <class T>
void
test(T expected)
@@ -36,9 +34,6 @@ int main()
test<signed char>(0);
test<unsigned char>(0);
test<wchar_t>(0);
-#if TEST_STD_VER > 17
- test<char8_t>(0);
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t>(0);
test<char32_t>(0);
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_bounded.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_bounded.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_bounded.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_bounded.pass.cpp Thu Nov 29 12:04:47 2018
@@ -13,8 +13,6 @@
#include <limits>
-#include "test_macros.h"
-
template <class T, bool expected>
void
test()
@@ -32,9 +30,6 @@ int main()
test<signed char, true>();
test<unsigned char, true>();
test<wchar_t, true>();
-#if TEST_STD_VER > 17
- test<char8_t, true>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, true>();
test<char32_t, true>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_exact.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_exact.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_exact.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_exact.pass.cpp Thu Nov 29 12:04:47 2018
@@ -13,8 +13,6 @@
#include <limits>
-#include "test_macros.h"
-
template <class T, bool expected>
void
test()
@@ -32,9 +30,6 @@ int main()
test<signed char, true>();
test<unsigned char, true>();
test<wchar_t, true>();
-#if TEST_STD_VER > 17
- test<char8_t, true>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, true>();
test<char32_t, true>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp Thu Nov 29 12:04:47 2018
@@ -13,8 +13,6 @@
#include <limits>
-#include "test_macros.h"
-
template <class T, bool expected>
void
test()
@@ -32,9 +30,6 @@ int main()
test<signed char, false>();
test<unsigned char, false>();
test<wchar_t, false>();
-#if TEST_STD_VER > 17
- test<char8_t, false>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, false>();
test<char32_t, false>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_integer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_integer.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_integer.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_integer.pass.cpp Thu Nov 29 12:04:47 2018
@@ -13,8 +13,6 @@
#include <limits>
-#include "test_macros.h"
-
template <class T, bool expected>
void
test()
@@ -32,9 +30,6 @@ int main()
test<signed char, true>();
test<unsigned char, true>();
test<wchar_t, true>();
-#if TEST_STD_VER > 17
- test<char8_t, true>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, true>();
test<char32_t, true>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_modulo.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_modulo.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_modulo.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_modulo.pass.cpp Thu Nov 29 12:04:47 2018
@@ -13,8 +13,6 @@
#include <limits>
-#include "test_macros.h"
-
template <class T, bool expected>
void
test()
@@ -32,9 +30,6 @@ int main()
test<signed char, false>();
test<unsigned char, true>();
// test<wchar_t, false>(); // don't know
-#if TEST_STD_VER > 17
- test<char8_t, true>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, true>();
test<char32_t, true>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_signed.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_signed.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_signed.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/is_signed.pass.cpp Thu Nov 29 12:04:47 2018
@@ -13,8 +13,6 @@
#include <limits>
-#include "test_macros.h"
-
template <class T, bool expected>
void
test()
@@ -32,9 +30,6 @@ int main()
test<signed char, true>();
test<unsigned char, false>();
test<wchar_t, wchar_t(-1) < wchar_t(0)>();
-#if TEST_STD_VER > 17
- test<char8_t, false>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, false>();
test<char32_t, false>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/lowest.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/lowest.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/lowest.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/lowest.pass.cpp Thu Nov 29 12:04:47 2018
@@ -17,8 +17,6 @@
#include <cfloat>
#include <cassert>
-#include "test_macros.h"
-
template <class T>
void
test(T expected)
@@ -40,9 +38,6 @@ int main()
test<signed char>(SCHAR_MIN);
test<unsigned char>(0);
test<wchar_t>(WCHAR_MIN);
-#if TEST_STD_VER > 17
- test<char8_t>(0);
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t>(0);
test<char32_t>(0);
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max.pass.cpp Thu Nov 29 12:04:47 2018
@@ -17,8 +17,6 @@
#include <cfloat>
#include <cassert>
-#include "test_macros.h"
-
template <class T>
void
test(T expected)
@@ -40,9 +38,6 @@ int main()
test<signed char>(SCHAR_MAX);
test<unsigned char>(UCHAR_MAX);
test<wchar_t>(WCHAR_MAX);
-#if TEST_STD_VER > 17
- test<char8_t>(UCHAR_MAX); // ??
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t>(USHRT_MAX);
test<char32_t>(UINT_MAX);
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_digits10.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_digits10.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_digits10.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_digits10.pass.cpp Thu Nov 29 12:04:47 2018
@@ -14,8 +14,6 @@
#include <limits>
#include <cfloat>
-#include "test_macros.h"
-
template <class T, int expected>
void
test()
@@ -33,9 +31,6 @@ int main()
test<signed char, 0>();
test<unsigned char, 0>();
test<wchar_t, 0>();
-#if TEST_STD_VER > 17
- test<char8_t, 0>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, 0>();
test<char32_t, 0>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent.pass.cpp Thu Nov 29 12:04:47 2018
@@ -14,8 +14,6 @@
#include <limits>
#include <cfloat>
-#include "test_macros.h"
-
template <class T, int expected>
void
test()
@@ -33,9 +31,6 @@ int main()
test<signed char, 0>();
test<unsigned char, 0>();
test<wchar_t, 0>();
-#if TEST_STD_VER > 17
- test<char8_t, 0>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, 0>();
test<char32_t, 0>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent10.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent10.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent10.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/max_exponent10.pass.cpp Thu Nov 29 12:04:47 2018
@@ -14,8 +14,6 @@
#include <limits>
#include <cfloat>
-#include "test_macros.h"
-
template <class T, int expected>
void
test()
@@ -33,9 +31,6 @@ int main()
test<signed char, 0>();
test<unsigned char, 0>();
test<wchar_t, 0>();
-#if TEST_STD_VER > 17
- test<char8_t, 0>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, 0>();
test<char32_t, 0>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min.pass.cpp Thu Nov 29 12:04:47 2018
@@ -17,8 +17,6 @@
#include <cfloat>
#include <cassert>
-#include "test_macros.h"
-
template <class T>
void
test(T expected)
@@ -40,9 +38,6 @@ int main()
test<signed char>(SCHAR_MIN);
test<unsigned char>(0);
test<wchar_t>(WCHAR_MIN);
-#if TEST_STD_VER > 17
- test<char8_t>(0);
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t>(0);
test<char32_t>(0);
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent.pass.cpp Thu Nov 29 12:04:47 2018
@@ -14,8 +14,6 @@
#include <limits>
#include <cfloat>
-#include "test_macros.h"
-
template <class T, int expected>
void
test()
@@ -33,9 +31,6 @@ int main()
test<signed char, 0>();
test<unsigned char, 0>();
test<wchar_t, 0>();
-#if TEST_STD_VER > 17
- test<char8_t, 0>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, 0>();
test<char32_t, 0>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent10.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent10.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent10.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/min_exponent10.pass.cpp Thu Nov 29 12:04:47 2018
@@ -14,8 +14,6 @@
#include <limits>
#include <cfloat>
-#include "test_macros.h"
-
template <class T, int expected>
void
test()
@@ -33,9 +31,6 @@ int main()
test<signed char, 0>();
test<unsigned char, 0>();
test<wchar_t, 0>();
-#if TEST_STD_VER > 17
- test<char8_t, 0>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, 0>();
test<char32_t, 0>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/quiet_NaN.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/quiet_NaN.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/quiet_NaN.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/quiet_NaN.pass.cpp Thu Nov 29 12:04:47 2018
@@ -16,8 +16,6 @@
#include <type_traits>
#include <cassert>
-#include "test_macros.h"
-
template <class T>
void
test_imp(std::true_type)
@@ -53,9 +51,6 @@ int main()
test<signed char>();
test<unsigned char>();
test<wchar_t>();
-#if TEST_STD_VER > 17
- test<char8_t>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t>();
test<char32_t>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/radix.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/radix.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/radix.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/radix.pass.cpp Thu Nov 29 12:04:47 2018
@@ -14,8 +14,6 @@
#include <limits>
#include <cfloat>
-#include "test_macros.h"
-
template <class T, int expected>
void
test()
@@ -33,9 +31,6 @@ int main()
test<signed char, 2>();
test<unsigned char, 2>();
test<wchar_t, 2>();
-#if TEST_STD_VER > 17
- test<char8_t, 2>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, 2>();
test<char32_t, 2>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/round_error.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/round_error.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/round_error.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/round_error.pass.cpp Thu Nov 29 12:04:47 2018
@@ -15,8 +15,6 @@
#include <cfloat>
#include <cassert>
-#include "test_macros.h"
-
template <class T>
void
test(T expected)
@@ -34,9 +32,6 @@ int main()
test<signed char>(0);
test<unsigned char>(0);
test<wchar_t>(0);
-#if TEST_STD_VER > 17
- test<char8_t>(0);
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t>(0);
test<char32_t>(0);
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/round_style.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/round_style.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/round_style.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/round_style.pass.cpp Thu Nov 29 12:04:47 2018
@@ -13,8 +13,6 @@
#include <limits>
-#include "test_macros.h"
-
template <class T, std::float_round_style expected>
void
test()
@@ -32,9 +30,6 @@ int main()
test<signed char, std::round_toward_zero>();
test<unsigned char, std::round_toward_zero>();
test<wchar_t, std::round_toward_zero>();
-#if TEST_STD_VER > 17
- test<char8_t, std::round_toward_zero>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, std::round_toward_zero>();
test<char32_t, std::round_toward_zero>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/signaling_NaN.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/signaling_NaN.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/signaling_NaN.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/signaling_NaN.pass.cpp Thu Nov 29 12:04:47 2018
@@ -16,8 +16,6 @@
#include <type_traits>
#include <cassert>
-#include "test_macros.h"
-
template <class T>
void
test_imp(std::true_type)
@@ -53,9 +51,6 @@ int main()
test<signed char>();
test<unsigned char>();
test<wchar_t>();
-#if TEST_STD_VER > 17
- test<char8_t>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t>();
test<char32_t>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/tinyness_before.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/tinyness_before.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/tinyness_before.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/tinyness_before.pass.cpp Thu Nov 29 12:04:47 2018
@@ -13,8 +13,6 @@
#include <limits>
-#include "test_macros.h"
-
template <class T, bool expected>
void
test()
@@ -32,9 +30,6 @@ int main()
test<signed char, false>();
test<unsigned char, false>();
test<wchar_t, false>();
-#if TEST_STD_VER > 17
- test<char8_t, false>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, false>();
test<char32_t, false>();
Modified: libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp Thu Nov 29 12:04:47 2018
@@ -13,8 +13,6 @@
#include <limits>
-#include "test_macros.h"
-
#if defined(__i386__) || defined(__x86_64__) || defined(__pnacl__) || \
defined(__wasm__)
static const bool integral_types_trap = true;
@@ -39,9 +37,6 @@ int main()
test<signed char, integral_types_trap>();
test<unsigned char, integral_types_trap>();
test<wchar_t, integral_types_trap>();
-#if TEST_STD_VER > 17
- test<char8_t, integral_types_trap>();
-#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, integral_types_trap>();
test<char32_t, integral_types_trap>();
Modified: libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.cat/is_integral.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.cat/is_integral.pass.cpp?rev=347908&r1=347907&r2=347908&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.cat/is_integral.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.cat/is_integral.pass.cpp Thu Nov 29 12:04:47 2018
@@ -85,9 +85,6 @@ int main()
test_is_integral<signed char>();
test_is_integral<unsigned char>();
test_is_integral<wchar_t>();
-#if TEST_STD_VER > 14
- test_is_integral<char8_t>();
-#endif
test_is_not_integral<std::nullptr_t>();
test_is_not_integral<void>();
More information about the libcxx-commits
mailing list