mirror of
https://github.com/darlinghq/darling-libcxx.git
synced 2024-11-23 11:59:52 +00:00
[libc++] Purge mentions of GCC 4 from the test suite
We don't support GCC 4 and older according to the documentation, so we should pretend it doesn't exist. This is a re-application of r372787. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@372916 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5265e271ed
commit
172204fa13
@ -14,7 +14,7 @@
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
// GCC 7 is the first version to introduce [[nodiscard]]
|
||||
// UNSUPPORTED: gcc-4.9, gcc-5, gcc-6
|
||||
// UNSUPPORTED: gcc-5, gcc-6
|
||||
|
||||
// MODULES_DEFINES: _LIBCPP_ENABLE_NODISCARD
|
||||
#define _LIBCPP_ENABLE_NODISCARD
|
||||
|
@ -10,7 +10,7 @@
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
// GCC 7 is the first version to introduce [[nodiscard]]
|
||||
// UNSUPPORTED: gcc-4.9, gcc-5, gcc-6
|
||||
// UNSUPPORTED: gcc-5, gcc-6
|
||||
|
||||
// Test that _LIBCPP_DISABLE_NODISCARD_EXT only disables _LIBCPP_NODISCARD_EXT
|
||||
// and not _LIBCPP_NODISCARD_AFTER_CXX17.
|
||||
|
@ -10,7 +10,7 @@
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
// GCC 7 is the first version to introduce [[nodiscard]]
|
||||
// UNSUPPORTED: gcc-4.9, gcc-5, gcc-6
|
||||
// UNSUPPORTED: gcc-5, gcc-6
|
||||
|
||||
|
||||
// MODULES_DEFINES: _LIBCPP_ENABLE_NODISCARD
|
||||
|
@ -10,7 +10,7 @@
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
// GCC versions prior to 7.0 don't provide the required [[nodiscard]] attribute.
|
||||
// UNSUPPORTED: gcc-4, gcc-5, gcc-6
|
||||
// UNSUPPORTED: gcc-5, gcc-6
|
||||
|
||||
// AppleClang9 doesn't yet support C++17's implicitly synthesized deduction
|
||||
// guides from existing ctors, needed by default_searcher() below.
|
||||
|
@ -6,9 +6,6 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// The test fails due to the missing is_trivially_constructible intrinsic.
|
||||
// XFAIL: gcc-4.9
|
||||
|
||||
// The test suite needs to define the ABI macros on the command line when
|
||||
// modules are enabled.
|
||||
// UNSUPPORTED: -fmodules
|
||||
|
@ -6,9 +6,6 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// The test fails due to the missing is_trivially_constructible intrinsic.
|
||||
// XFAIL: gcc-4.9
|
||||
|
||||
// <utility>
|
||||
|
||||
// template <class T1, class T2> struct pair
|
||||
|
@ -8,9 +8,6 @@
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
|
||||
// See GCC PR63723.
|
||||
// UNSUPPORTED: gcc-4.9
|
||||
|
||||
// <experimental/simd>
|
||||
//
|
||||
// [simd.class]
|
||||
|
@ -8,9 +8,6 @@
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
|
||||
// See GCC PR63723.
|
||||
// UNSUPPORTED: gcc-4.9
|
||||
|
||||
// <experimental/simd>
|
||||
//
|
||||
// [simd.class]
|
||||
|
@ -8,9 +8,6 @@
|
||||
|
||||
// <iterator>
|
||||
|
||||
// Test fails due to use of is_trivially_* trait.
|
||||
// XFAIL: gcc-4.9
|
||||
|
||||
// template <class T, class charT = char, class traits = char_traits<charT>,
|
||||
// class Distance = ptrdiff_t>
|
||||
// class istream_iterator
|
||||
|
@ -8,9 +8,6 @@
|
||||
|
||||
// <iterator>
|
||||
|
||||
// Test fails due to use of is_trivially_* trait.
|
||||
// XFAIL: gcc-4.9
|
||||
|
||||
// template<class charT, class traits = char_traits<charT> >
|
||||
// class istreambuf_iterator
|
||||
// : public iterator<input_iterator_tag, charT,
|
||||
|
@ -15,10 +15,6 @@
|
||||
// (except clang-3.6 which temporarily enabled sized-deallocation)
|
||||
// UNSUPPORTED: clang, apple-clang
|
||||
|
||||
// NOTE: GCC 4.9.1 does not support sized-deallocation in C++14. However
|
||||
// GCC 5.1 does.
|
||||
// XFAIL: gcc-4.7, gcc-4.8, gcc-4.9
|
||||
|
||||
#include <new>
|
||||
#include <cstddef>
|
||||
#include <cstdlib>
|
||||
|
@ -15,10 +15,6 @@
|
||||
// (except clang-3.6 which temporarily enabled sized-deallocation)
|
||||
// UNSUPPORTED: clang, apple-clang
|
||||
|
||||
// NOTE: GCC 4.9.1 does not support sized-deallocation in C++14. However
|
||||
// GCC 5.1 does.
|
||||
// XFAIL: gcc-4.7, gcc-4.8, gcc-4.9
|
||||
|
||||
#include <new>
|
||||
#include <cstddef>
|
||||
#include <cstdlib>
|
||||
|
@ -13,9 +13,6 @@
|
||||
// Test that reference wrapper meets the requirements of CopyConstructible and
|
||||
// CopyAssignable, and TriviallyCopyable (starting in C++14).
|
||||
|
||||
// Test fails due to use of is_trivially_* trait.
|
||||
// XFAIL: gcc-4.9 && c++14
|
||||
|
||||
#include <functional>
|
||||
#include <type_traits>
|
||||
#include <string>
|
||||
|
@ -7,7 +7,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
// XFAIL: gcc-4, gcc-5, gcc-6
|
||||
// XFAIL: gcc-5, gcc-6
|
||||
|
||||
// <memory>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
// UNSUPPORTED: clang-3, clang-4, clang-5, apple-clang, gcc-4, gcc-5, gcc-6
|
||||
// UNSUPPORTED: clang-3, clang-4, clang-5, apple-clang, gcc-5, gcc-6
|
||||
|
||||
// type_traits
|
||||
|
||||
|
@ -10,8 +10,6 @@
|
||||
|
||||
// is_trivially_assignable
|
||||
|
||||
// XFAIL: gcc-4.9
|
||||
|
||||
#include <type_traits>
|
||||
#include "test_macros.h"
|
||||
|
||||
|
@ -10,8 +10,6 @@
|
||||
|
||||
// is_trivially_copy_assignable
|
||||
|
||||
// XFAIL: gcc-4.9
|
||||
|
||||
#include <type_traits>
|
||||
#include "test_macros.h"
|
||||
|
||||
|
@ -10,8 +10,6 @@
|
||||
|
||||
// is_trivially_copy_constructible
|
||||
|
||||
// XFAIL: gcc-4.9
|
||||
|
||||
#include <type_traits>
|
||||
#include "test_macros.h"
|
||||
|
||||
|
@ -10,8 +10,6 @@
|
||||
|
||||
// is_trivially_move_assignable
|
||||
|
||||
// XFAIL: gcc-4.9
|
||||
|
||||
#include <type_traits>
|
||||
#include "test_macros.h"
|
||||
|
||||
|
@ -10,8 +10,6 @@
|
||||
|
||||
// is_trivially_move_constructible
|
||||
|
||||
// XFAIL: gcc-4.9
|
||||
|
||||
#include <type_traits>
|
||||
#include "test_macros.h"
|
||||
|
||||
|
@ -14,7 +14,6 @@
|
||||
// struct tuple_size<tuple<Types...>>
|
||||
// : public integral_constant<size_t, sizeof...(Types)> { };
|
||||
|
||||
// XFAIL: gcc-4.9
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
|
@ -14,7 +14,6 @@
|
||||
// class tuple_size<tuple<Types...>>
|
||||
// : public integral_constant<size_t, sizeof...(Types)> { };
|
||||
|
||||
// XFAIL: gcc-4.9
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
|
@ -12,11 +12,6 @@
|
||||
|
||||
// constexpr pair();
|
||||
|
||||
// This test doesn't pass due to a constexpr bug in GCC 4.9 that fails
|
||||
// to initialize any type without a user provided constructor in a constant
|
||||
// expression (e.g. float).
|
||||
// XFAIL: gcc-4.9
|
||||
|
||||
// NOTE: The SFINAE on the default constructor is tested in
|
||||
// default-sfinae.pass.cpp
|
||||
|
||||
|
@ -13,9 +13,6 @@
|
||||
// pair(pair const&) = default;
|
||||
// pair(pair&&) = default;
|
||||
|
||||
// Doesn't pass due to use of is_trivially_* trait.
|
||||
// XFAIL: gcc-4.9
|
||||
|
||||
#include <utility>
|
||||
#include <cassert>
|
||||
|
||||
|
@ -8,10 +8,6 @@
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
// This workaround option is specific to MSVC's C1XX, so we don't care that
|
||||
// it isn't set for older GCC versions.
|
||||
// XFAIL: gcc-4.9
|
||||
|
||||
// Verify TEST_WORKAROUND_C1XX_BROKEN_IS_TRIVIALLY_COPYABLE.
|
||||
|
||||
#include <type_traits>
|
||||
|
Loading…
Reference in New Issue
Block a user