[libc++] Remove the c++98 Lit feature from the test suite
C++98 and C++03 are effectively aliases as far as Clang is concerned. As such, allowing both std=c++98 and std=c++03 as Lit parameters is just slightly confusing, but provides no value. It's similar to allowing both std=c++17 and std=c++1z, which we don't do. This was discovered because we had an internal bot that ran the test suite under both c++98 AND c++03 -- one of which is redundant. Differential Revision: https://reviews.llvm.org/D80926
This commit is contained in:
@@ -123,7 +123,7 @@ default.
|
||||
|
||||
.. option:: std=<standard version>
|
||||
|
||||
**Values**: c++98, c++03, c++11, c++14, c++17, c++2a
|
||||
**Values**: c++03, c++11, c++14, c++17, c++2a
|
||||
|
||||
Change the standard version used when building the tests.
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
// RandomNumberGenerator& rand);
|
||||
|
||||
// UNSUPPORTED: clang-4.0
|
||||
// UNSUPPORTED: c++98, c++03, c++11
|
||||
// UNSUPPORTED: c++03, c++11
|
||||
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_CXX17_REMOVED_RANDOM_SHUFFLE
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// UNSUPPORTED: libcpp-has-no-threads, c++98, c++03
|
||||
// UNSUPPORTED: libcpp-has-no-threads, c++03
|
||||
// REQUIRES: libatomic
|
||||
// FILE_DEPENDENCIES: %t.exe
|
||||
// RUN: %{build} -latomic
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// Test that libc++ does not generate a warning diagnostic about the comparator
|
||||
// too early for containers of incomplete types.
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
// REQUIRES: diagnose-if-support
|
||||
|
||||
// Test that libc++ generates a warning diagnostic when the container is
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
// UNSUPPORTED: windows
|
||||
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEBUG=1
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
// UNSUPPORTED: windows
|
||||
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEBUG=1
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
// UNSUPPORTED: windows
|
||||
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEBUG=1
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <deque>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// Can't test the system lib because this test enables debug mode
|
||||
// UNSUPPORTED: with_system_cxx_lib=macosx
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// Can't test the system lib because this test enables debug mode
|
||||
// UNSUPPORTED: with_system_cxx_lib=macosx
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// destructor, or
|
||||
// * all of its copy and move constructors are deleted.
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include <vector>
|
||||
#include <cassert>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <vector>
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
// ADDITIONAL_COMPILE_FLAGS: -fno-exceptions
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <vector>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// REQUIRES: long_tests
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// Not a portable test
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// Test that libc++ does not generate a warning diagnostic about the comparator
|
||||
// or the hasher too early for containers of incomplete types.
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
// REQUIRES: diagnose-if-support
|
||||
|
||||
// Test that libc++ generates a warning diagnostic when the container is
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
// is not in the map.
|
||||
|
||||
// REQUIRES: no-exceptions
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include <csignal>
|
||||
#include <cstdlib>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
// is not in the map.
|
||||
|
||||
// REQUIRES: no-exceptions
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include <csignal>
|
||||
#include <cstdlib>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// REQUIRES: diagnose-if-support
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// Libc++ only provides a defined primary template for std::hash in C++14 and
|
||||
// newer.
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// UNSUPPORTED: windows
|
||||
// UNSUPPORTED: libcpp-no-if-constexpr
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEBUG=1
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// UNSUPPORTED: windows
|
||||
// UNSUPPORTED: libcpp-has-no-threads
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEBUG=1
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// UNSUPPORTED: windows
|
||||
// UNSUPPORTED: libcpp-no-if-constexpr
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEBUG=1
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// UNSUPPORTED: windows
|
||||
// UNSUPPORTED: libcpp-no-if-constexpr
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEBUG=1
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// UNSUPPORTED: windows
|
||||
// UNSUPPORTED: libcpp-no-if-constexpr
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEBUG=1
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
// UNSUPPORTED: windows
|
||||
// UNSUPPORTED: libcpp-no-if-constexpr
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEBUG=1
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
// UNSUPPORTED: windows
|
||||
|
||||
// Can't test the system lib because this test enables debug mode
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
// Deprecated in C++11
|
||||
|
||||
// UNSUPPORTED: clang-4.0
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98 || c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
// Deprecated in C++17
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_CXX20_REMOVED_ALLOCATOR_MEMBERS
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
// <memory>
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
// Deprecated in C++17
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_CXX20_REMOVED_ALLOCATOR_MEMBERS
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
// Deprecated in C++17
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// Clang 6 does not handle the deprecated attribute on template members properly,
|
||||
// so the rebind<int> check below fails.
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
//
|
||||
// Deprecated in C++17
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_CXX20_REMOVED_ALLOCATOR_MEMBERS
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
// <functional>
|
||||
|
||||
// UNSUPPORTED: clang-4.0
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_CXX17_REMOVED_BINDERS
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// test unexpected
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
// to the appropriate warning-generating attribute when _LIBCPP_ENABLE_NODISCARD
|
||||
// is explicitly provided.
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// GCC 7 is the first version to introduce [[nodiscard]]
|
||||
// UNSUPPORTED: gcc-5, gcc-6
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// GCC 7 is the first version to introduce [[nodiscard]]
|
||||
// UNSUPPORTED: gcc-5, gcc-6
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// GCC 7 is the first version to introduce [[nodiscard]]
|
||||
// UNSUPPORTED: gcc-5, gcc-6
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
// Test that _LIBCPP_NODISCARD_AFTER_CXX17 works
|
||||
// #define _LIBCPP_NODISCARD_AFTER_CXX17 [[nodiscard]]
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
|
||||
#include <__config>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// AppleClang9 doesn't yet support C++17's implicitly synthesized deduction
|
||||
// guides from existing ctors, needed by default_searcher() below.
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <experimental/filesystem>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11
|
||||
// UNSUPPORTED: c++03, c++11
|
||||
// REQUIRES: fcoroutines-ts
|
||||
// ADDITIONAL_COMPILE_FLAGS: -fcoroutines-ts
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <experimental/memory_resource>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <experimental/memory_resource>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <experimental/memory_resource>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <experimental/deque>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <experimental/forward_list>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <experimental/list>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <experimental/map>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <experimental/regex>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <experimental/set>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <experimental/string>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <experimental/unordered_map>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <experimental/unordered_set>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <experimental/vector>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <experimental/memory_resource>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <experimental/memory_resource>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <experimental/memory_resource>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include <random>
|
||||
#include <cstdint>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include "fuzzer_test.h"
|
||||
FUZZER_TEST(fuzzing::nth_element);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include <cassert>
|
||||
#include <cstring> // for strlen
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include "fuzzer_test.h"
|
||||
FUZZER_TEST(fuzzing::partial_sort_copy);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include "fuzzer_test.h"
|
||||
FUZZER_TEST(fuzzing::partition);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include "fuzzer_test.h"
|
||||
FUZZER_TEST(fuzzing::partition_copy);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include "fuzzer_test.h"
|
||||
FUZZER_TEST(fuzzing::regex_ECMAScript);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include "fuzzer_test.h"
|
||||
FUZZER_TEST(fuzzing::regex_POSIX);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include "fuzzer_test.h"
|
||||
FUZZER_TEST(fuzzing::regex_awk);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include "fuzzer_test.h"
|
||||
FUZZER_TEST(fuzzing::regex_egrep);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include "fuzzer_test.h"
|
||||
FUZZER_TEST(fuzzing::regex_extended);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include "fuzzer_test.h"
|
||||
FUZZER_TEST(fuzzing::regex_grep);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include "fuzzer_test.h"
|
||||
FUZZER_TEST(fuzzing::sort);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include "fuzzer_test.h"
|
||||
FUZZER_TEST(fuzzing::stable_partition);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include "fuzzer_test.h"
|
||||
FUZZER_TEST(fuzzing::stable_sort);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include "fuzzer_test.h"
|
||||
FUZZER_TEST(fuzzing::unique);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
#include "fuzzer_test.h"
|
||||
FUZZER_TEST(fuzzing::unique_copy);
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
// ADDITIONAL_COMPILE_FLAGS: -I%{libcxx_src_root}/src/filesystem
|
||||
|
||||
// <filesystem>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
// UNSUPPORTED: windows
|
||||
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEBUG=0
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <filesystem>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <filesystem>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11
|
||||
// UNSUPPORTED: c++03, c++11
|
||||
|
||||
// <filesystem>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// Can't test the system lib because this test enables debug mode
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
// UNSUPPORTED: windows
|
||||
// UNSUPPORTED: with_system_cxx_lib=macosx
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEBUG=0
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// Can't test the system lib because this test enables debug mode
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
// UNSUPPORTED: windows
|
||||
// UNSUPPORTED: with_system_cxx_lib=macosx
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEBUG=0
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
// Can't test the system lib because this test enables debug mode
|
||||
// UNSUPPORTED: with_system_cxx_lib=macosx
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
// UNSUPPORTED: windows
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEBUG=0
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// Test exporting the symbol: "__cxa_deleted_virtual" in macosx
|
||||
// But don't expect the symbol to be exported in previous versions.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// We have two macros for checking whether or not the underlying C library
|
||||
// has C11 features:
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
// 'do_bytes' throws a std::range_error unexpectedly
|
||||
// XFAIL: LIBCXX-WINDOWS-FIXME
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <locale>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// AppleClang <= 10 enables aligned allocation regardless of the deployment
|
||||
// target, so this test would fail.
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
//
|
||||
|
||||
// <memory>
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// template<typename _Alloc>
|
||||
// struct __is_allocator;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
// but still gets built as part of the 'std' module, which breaks the build.
|
||||
// XFAIL: libcpp-has-no-threads
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// REQUIRES: modules-support
|
||||
// ADDITIONAL_COMPILE_FLAGS: -fmodules
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
// NOTE: The -std=XXX flag is present in %{flags}, so we overwrite it by passing it after %{flags}.
|
||||
// FIXME: Remove the `-DINVALIDATE_CACHE_FOO` macros. Their purpose is to workaround a bug in older Clang versions
|
||||
// the same modules caches were reused across standard dialects.
|
||||
// RUN: %{cxx} %{flags} %{compile_flags} -fmodules -fcxx-modules -fsyntax-only -std=c++98 -DINVALIDATE_CACHE_CXX98 %s
|
||||
// RUN: %{cxx} %{flags} %{compile_flags} -fmodules -fcxx-modules -fsyntax-only -std=c++03 -DINVALIDATE_CACHE_CXX03 %s
|
||||
// RUN: %{cxx} %{flags} %{compile_flags} -fmodules -fcxx-modules -fsyntax-only -std=c++11 -DINVALIDATE_CACHE_CXX11 %s
|
||||
// RUN: %{cxx} %{flags} %{compile_flags} -fmodules -fcxx-modules -fsyntax-only -std=c++14 -DINVALIDATE_CACHE_CKK14 %s
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
// This fails with gcc because __builtin_isnan and friends, which libcpp_isnan
|
||||
// and friends call, are not themselves constexpr-evaluatable.
|
||||
//
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
// XFAIL: gcc-9, gcc-8, gcc-7, gcc-6, gcc-5
|
||||
|
||||
#include <cmath>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// UNSUPPORTED: c++98, c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// <numeric>
|
||||
|
||||
// template <class _Tp>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11
|
||||
// UNSUPPORTED: c++03, c++11
|
||||
// REQUIRES: with_system_cxx_lib=macosx
|
||||
// REQUIRES: availability=macosx10.9 || availability=macosx10.10 || availability=macosx10.11 || availability=macosx10.12 || availability=macosx10.13 || availability=macosx10.14 || availability=macosx10.15
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11
|
||||
// UNSUPPORTED: c++03, c++11
|
||||
// REQUIRES: with_system_cxx_lib=macosx
|
||||
// REQUIRES: availability=macosx10.9 || availability=macosx10.10 || availability=macosx10.11 || availability=macosx10.12 || availability=macosx10.13 || availability=macosx10.14 || availability=macosx10.15
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
// UNSUPPORTED: windows
|
||||
// UNSUPPORTED: libcpp-has-no-threads
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEBUG=0
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
// UNSUPPORTED: windows
|
||||
// UNSUPPORTED: libcpp-has-no-threads
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEBUG=0
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// UNSUPPORTED: libcpp-has-no-threads
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
// UNSUPPORTED: c++03
|
||||
|
||||
// <future>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11
|
||||
// UNSUPPORTED: c++03, c++11
|
||||
// REQUIRES: with_system_cxx_lib=macosx
|
||||
// REQUIRES: availability=macosx10.9 || availability=macosx10.10 || availability=macosx10.11 || availability=macosx10.12 || availability=macosx10.13 || availability=macosx10.14 || availability=macosx10.15
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++98, c++03, c++11
|
||||
// UNSUPPORTED: c++03, c++11
|
||||
// REQUIRES: with_system_cxx_lib=macosx
|
||||
// REQUIRES: availability=macosx10.9 || availability=macosx10.10 || availability=macosx10.11 || availability=macosx10.12 || availability=macosx10.13 || availability=macosx10.14 || availability=macosx10.15
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user