Skip to content

Commit e46dd89

Browse files
committed
Re-run generator scripts
1 parent c6bfc69 commit e46dd89

File tree

2 files changed

+38
-52
lines changed

2 files changed

+38
-52
lines changed

libcxx/test/std/language.support/support.limits/support.limits.general/spanstream.version.compile.pass.cpp

Lines changed: 28 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -5,66 +5,64 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
//
8+
99
// WARNING: This test was generated by generate_feature_test_macro_components.py
1010
// and should not be edited manually.
11-
//
12-
// clang-format off
1311

1412
// UNSUPPORTED: no-localization
1513

1614
// <spanstream>
1715

1816
// Test the feature test macros defined by <spanstream>
1917

20-
/* Constant Value
21-
__cpp_lib_spanstream 202106L [C++23]
22-
*/
18+
// clang-format off
2319

2420
#include <spanstream>
2521
#include "test_macros.h"
2622

2723
#if TEST_STD_VER < 14
2824

29-
# ifdef __cpp_lib_spanstream
30-
# error "__cpp_lib_spanstream should not be defined before c++23"
31-
# endif
25+
# ifdef __cpp_lib_spanstream
26+
# error "__cpp_lib_spanstream should not be defined before c++23"
27+
# endif
3228

3329
#elif TEST_STD_VER == 14
3430

35-
# ifdef __cpp_lib_spanstream
36-
# error "__cpp_lib_spanstream should not be defined before c++23"
37-
# endif
31+
# ifdef __cpp_lib_spanstream
32+
# error "__cpp_lib_spanstream should not be defined before c++23"
33+
# endif
3834

3935
#elif TEST_STD_VER == 17
4036

41-
# ifdef __cpp_lib_spanstream
42-
# error "__cpp_lib_spanstream should not be defined before c++23"
43-
# endif
37+
# ifdef __cpp_lib_spanstream
38+
# error "__cpp_lib_spanstream should not be defined before c++23"
39+
# endif
4440

4541
#elif TEST_STD_VER == 20
4642

47-
# ifdef __cpp_lib_spanstream
48-
# error "__cpp_lib_spanstream should not be defined before c++23"
49-
# endif
43+
# ifdef __cpp_lib_spanstream
44+
# error "__cpp_lib_spanstream should not be defined before c++23"
45+
# endif
5046

5147
#elif TEST_STD_VER == 23
5248

53-
# ifndef __cpp_lib_spanstream
54-
# error "__cpp_lib_spanstream should be defined in c++23"
55-
# endif
56-
# if __cpp_lib_spanstream != 202106L
57-
# error "__cpp_lib_spanstream should have the value 202106L in c++23"
58-
# endif
49+
# ifndef __cpp_lib_spanstream
50+
# error "__cpp_lib_spanstream should be defined in c++23"
51+
# endif
52+
# if __cpp_lib_spanstream != 202106L
53+
# error "__cpp_lib_spanstream should have the value 202106L in c++23"
54+
# endif
5955

6056
#elif TEST_STD_VER > 23
6157

62-
# ifndef __cpp_lib_spanstream
63-
# error "__cpp_lib_spanstream should be defined in c++26"
64-
# endif
65-
# if __cpp_lib_spanstream != 202106L
66-
# error "__cpp_lib_spanstream should have the value 202106L in c++26"
67-
# endif
58+
# ifndef __cpp_lib_spanstream
59+
# error "__cpp_lib_spanstream should be defined in c++26"
60+
# endif
61+
# if __cpp_lib_spanstream != 202106L
62+
# error "__cpp_lib_spanstream should have the value 202106L in c++26"
63+
# endif
6864

6965
#endif // TEST_STD_VER > 23
7066

67+
// clang-format on
68+

libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5807,17 +5807,11 @@
58075807
# error "__cpp_lib_span_initializer_list should not be defined before c++26"
58085808
# endif
58095809

5810-
# if !defined(_LIBCPP_VERSION)
5811-
# ifndef __cpp_lib_spanstream
5812-
# error "__cpp_lib_spanstream should be defined in c++23"
5813-
# endif
5814-
# if __cpp_lib_spanstream != 202106L
5815-
# error "__cpp_lib_spanstream should have the value 202106L in c++23"
5816-
# endif
5817-
# else
5818-
# ifdef __cpp_lib_spanstream
5819-
# error "__cpp_lib_spanstream should not be defined because it is unimplemented in libc++!"
5820-
# endif
5810+
# ifndef __cpp_lib_spanstream
5811+
# error "__cpp_lib_spanstream should be defined in c++23"
5812+
# endif
5813+
# if __cpp_lib_spanstream != 202106L
5814+
# error "__cpp_lib_spanstream should have the value 202106L in c++23"
58215815
# endif
58225816

58235817
# ifndef __cpp_lib_ssize
@@ -7744,17 +7738,11 @@
77447738
# error "__cpp_lib_span_initializer_list should have the value 202311L in c++26"
77457739
# endif
77467740

7747-
# if !defined(_LIBCPP_VERSION)
7748-
# ifndef __cpp_lib_spanstream
7749-
# error "__cpp_lib_spanstream should be defined in c++26"
7750-
# endif
7751-
# if __cpp_lib_spanstream != 202106L
7752-
# error "__cpp_lib_spanstream should have the value 202106L in c++26"
7753-
# endif
7754-
# else
7755-
# ifdef __cpp_lib_spanstream
7756-
# error "__cpp_lib_spanstream should not be defined because it is unimplemented in libc++!"
7757-
# endif
7741+
# ifndef __cpp_lib_spanstream
7742+
# error "__cpp_lib_spanstream should be defined in c++26"
7743+
# endif
7744+
# if __cpp_lib_spanstream != 202106L
7745+
# error "__cpp_lib_spanstream should have the value 202106L in c++26"
77587746
# endif
77597747

77607748
# ifndef __cpp_lib_ssize

0 commit comments

Comments
 (0)