Skip to content

Commit 31cbe0f

Browse files
committed
[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
1 parent 6163fa7 commit 31cbe0f

File tree

2,071 files changed

+2074
-2075
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,071 files changed

+2074
-2075
lines changed

libcxx/docs/TestingLibcxx.rst

Lines changed: 1 addition & 1 deletion

libcxx/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle.depr_in_cxx14.verify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
// RandomNumberGenerator& rand);
1919

2020
// UNSUPPORTED: clang-4.0
21-
// UNSUPPORTED: c++98, c++03, c++11
21+
// UNSUPPORTED: c++03, c++11
2222

2323
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_CXX17_REMOVED_RANDOM_SHUFFLE
2424

libcxx/test/libcxx/atomics/atomics.align/align.pass.sh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88
//
9-
// UNSUPPORTED: libcpp-has-no-threads, c++98, c++03
9+
// UNSUPPORTED: libcpp-has-no-threads, c++03
1010
// REQUIRES: libatomic
1111
// FILE_DEPENDENCIES: %t.exe
1212
// RUN: %{build} -latomic

libcxx/test/libcxx/containers/associative/non_const_comparator.incomplete.verify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// UNSUPPORTED: c++98, c++03
9+
// UNSUPPORTED: c++03
1010

1111
// Test that libc++ does not generate a warning diagnostic about the comparator
1212
// too early for containers of incomplete types.

libcxx/test/libcxx/containers/associative/non_const_comparator.verify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// UNSUPPORTED: c++98, c++03
9+
// UNSUPPORTED: c++03
1010
// REQUIRES: diagnose-if-support
1111

1212
// Test that libc++ generates a warning diagnostic when the container is

libcxx/test/libcxx/containers/sequences/array/array.zero/db_back.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// UNSUPPORTED: c++98, c++03
8+
// UNSUPPORTED: c++03
99
// UNSUPPORTED: windows
1010

1111
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEBUG=1

libcxx/test/libcxx/containers/sequences/array/array.zero/db_front.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// UNSUPPORTED: c++98, c++03
8+
// UNSUPPORTED: c++03
99
// UNSUPPORTED: windows
1010

1111
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEBUG=1

libcxx/test/libcxx/containers/sequences/array/array.zero/db_indexing.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// UNSUPPORTED: c++98, c++03
8+
// UNSUPPORTED: c++03
99
// UNSUPPORTED: windows
1010

1111
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DEBUG=1

libcxx/test/libcxx/containers/sequences/deque/spare_block_handling.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// UNSUPPORTED: c++98, c++03
9+
// UNSUPPORTED: c++03
1010

1111
// <deque>
1212

libcxx/test/libcxx/containers/sequences/list/list.cons/db_move.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// UNSUPPORTED: c++98, c++03
9+
// UNSUPPORTED: c++03
1010

1111
// Can't test the system lib because this test enables debug mode
1212
// UNSUPPORTED: with_system_cxx_lib=macosx

0 commit comments

Comments
 (0)