Skip to content

Commit 8d8a6dc

Browse files
committed
fixup! WIP: [libc++][ranges] Implement ranges::stride_view.
Update Generated Files
1 parent 922c14e commit 8d8a6dc

File tree

1 file changed

+127
-44
lines changed

1 file changed

+127
-44
lines changed

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

Lines changed: 127 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -2087,6 +2087,14 @@
20872087
# error "__cpp_lib_clamp should have the value 201603L in c++17"
20882088
# endif
20892089

2090+
# ifdef __cpp_lib_common_reference
2091+
# error "__cpp_lib_common_reference should not be defined before c++20"
2092+
# endif
2093+
2094+
# ifdef __cpp_lib_common_reference_wrapper
2095+
# error "__cpp_lib_common_reference_wrapper should not be defined before c++20"
2096+
# endif
2097+
20902098
# ifndef __cpp_lib_complex_udls
20912099
# error "__cpp_lib_complex_udls should be defined in c++17"
20922100
# endif
@@ -2122,6 +2130,10 @@
21222130
# error "__cpp_lib_constexpr_dynamic_alloc should not be defined before c++20"
21232131
# endif
21242132

2133+
# ifdef __cpp_lib_constexpr_forward_list
2134+
# error "__cpp_lib_constexpr_forward_list should not be defined before c++26"
2135+
# endif
2136+
21252137
# ifdef __cpp_lib_constexpr_functional
21262138
# error "__cpp_lib_constexpr_functional should not be defined before c++20"
21272139
# endif
@@ -2130,6 +2142,10 @@
21302142
# error "__cpp_lib_constexpr_iterator should not be defined before c++20"
21312143
# endif
21322144

2145+
# ifdef __cpp_lib_constexpr_list
2146+
# error "__cpp_lib_constexpr_list should not be defined before c++26"
2147+
# endif
2148+
21332149
# ifdef __cpp_lib_constexpr_memory
21342150
# error "__cpp_lib_constexpr_memory should not be defined before c++20"
21352151
# endif
@@ -2142,6 +2158,10 @@
21422158
# error "__cpp_lib_constexpr_numeric should not be defined before c++20"
21432159
# endif
21442160

2161+
# ifdef __cpp_lib_constexpr_queue
2162+
# error "__cpp_lib_constexpr_queue should not be defined before c++26"
2163+
# endif
2164+
21452165
# ifdef __cpp_lib_constexpr_string
21462166
# error "__cpp_lib_constexpr_string should not be defined before c++20"
21472167
# endif
@@ -3305,6 +3325,20 @@
33053325
# error "__cpp_lib_clamp should have the value 201603L in c++20"
33063326
# endif
33073327

3328+
# ifndef __cpp_lib_common_reference
3329+
# error "__cpp_lib_common_reference should be defined in c++20"
3330+
# endif
3331+
# if __cpp_lib_common_reference != 202302L
3332+
# error "__cpp_lib_common_reference should have the value 202302L in c++20"
3333+
# endif
3334+
3335+
# ifndef __cpp_lib_common_reference_wrapper
3336+
# error "__cpp_lib_common_reference_wrapper should be defined in c++20"
3337+
# endif
3338+
# if __cpp_lib_common_reference_wrapper != 202302L
3339+
# error "__cpp_lib_common_reference_wrapper should have the value 202302L in c++20"
3340+
# endif
3341+
33083342
# ifndef __cpp_lib_complex_udls
33093343
# error "__cpp_lib_complex_udls should be defined in c++20"
33103344
# endif
@@ -3352,6 +3386,10 @@
33523386
# error "__cpp_lib_constexpr_dynamic_alloc should have the value 201907L in c++20"
33533387
# endif
33543388

3389+
# ifdef __cpp_lib_constexpr_forward_list
3390+
# error "__cpp_lib_constexpr_forward_list should not be defined before c++26"
3391+
# endif
3392+
33553393
# ifndef __cpp_lib_constexpr_functional
33563394
# error "__cpp_lib_constexpr_functional should be defined in c++20"
33573395
# endif
@@ -3366,6 +3404,10 @@
33663404
# error "__cpp_lib_constexpr_iterator should have the value 201811L in c++20"
33673405
# endif
33683406

3407+
# ifdef __cpp_lib_constexpr_list
3408+
# error "__cpp_lib_constexpr_list should not be defined before c++26"
3409+
# endif
3410+
33693411
# ifndef __cpp_lib_constexpr_memory
33703412
# error "__cpp_lib_constexpr_memory should be defined in c++20"
33713413
# endif
@@ -3384,6 +3426,10 @@
33843426
# error "__cpp_lib_constexpr_numeric should have the value 201911L in c++20"
33853427
# endif
33863428

3429+
# ifdef __cpp_lib_constexpr_queue
3430+
# error "__cpp_lib_constexpr_queue should not be defined before c++26"
3431+
# endif
3432+
33873433
# ifndef __cpp_lib_constexpr_string
33883434
# error "__cpp_lib_constexpr_string should be defined in c++20"
33893435
# endif
@@ -4742,6 +4788,20 @@
47424788
# error "__cpp_lib_clamp should have the value 201603L in c++23"
47434789
# endif
47444790

4791+
# ifndef __cpp_lib_common_reference
4792+
# error "__cpp_lib_common_reference should be defined in c++23"
4793+
# endif
4794+
# if __cpp_lib_common_reference != 202302L
4795+
# error "__cpp_lib_common_reference should have the value 202302L in c++23"
4796+
# endif
4797+
4798+
# ifndef __cpp_lib_common_reference_wrapper
4799+
# error "__cpp_lib_common_reference_wrapper should be defined in c++23"
4800+
# endif
4801+
# if __cpp_lib_common_reference_wrapper != 202302L
4802+
# error "__cpp_lib_common_reference_wrapper should have the value 202302L in c++23"
4803+
# endif
4804+
47454805
# ifndef __cpp_lib_complex_udls
47464806
# error "__cpp_lib_complex_udls should be defined in c++23"
47474807
# endif
@@ -4804,6 +4864,10 @@
48044864
# error "__cpp_lib_constexpr_dynamic_alloc should have the value 201907L in c++23"
48054865
# endif
48064866

4867+
# ifdef __cpp_lib_constexpr_forward_list
4868+
# error "__cpp_lib_constexpr_forward_list should not be defined before c++26"
4869+
# endif
4870+
48074871
# ifndef __cpp_lib_constexpr_functional
48084872
# error "__cpp_lib_constexpr_functional should be defined in c++23"
48094873
# endif
@@ -4818,6 +4882,10 @@
48184882
# error "__cpp_lib_constexpr_iterator should have the value 201811L in c++23"
48194883
# endif
48204884

4885+
# ifdef __cpp_lib_constexpr_list
4886+
# error "__cpp_lib_constexpr_list should not be defined before c++26"
4887+
# endif
4888+
48214889
# ifndef __cpp_lib_constexpr_memory
48224890
# error "__cpp_lib_constexpr_memory should be defined in c++23"
48234891
# endif
@@ -4836,6 +4904,10 @@
48364904
# error "__cpp_lib_constexpr_numeric should have the value 201911L in c++23"
48374905
# endif
48384906

4907+
# ifdef __cpp_lib_constexpr_queue
4908+
# error "__cpp_lib_constexpr_queue should not be defined before c++26"
4909+
# endif
4910+
48394911
# ifndef __cpp_lib_constexpr_string
48404912
# error "__cpp_lib_constexpr_string should be defined in c++23"
48414913
# endif
@@ -5637,17 +5709,11 @@
56375709
# error "__cpp_lib_ranges_iota should have the value 202202L in c++23"
56385710
# endif
56395711

5640-
# if !defined(_LIBCPP_VERSION)
5641-
# ifndef __cpp_lib_ranges_join_with
5642-
# error "__cpp_lib_ranges_join_with should be defined in c++23"
5643-
# endif
5644-
# if __cpp_lib_ranges_join_with != 202202L
5645-
# error "__cpp_lib_ranges_join_with should have the value 202202L in c++23"
5646-
# endif
5647-
# else
5648-
# ifdef __cpp_lib_ranges_join_with
5649-
# error "__cpp_lib_ranges_join_with should not be defined because it is unimplemented in libc++!"
5650-
# endif
5712+
# ifndef __cpp_lib_ranges_join_with
5713+
# error "__cpp_lib_ranges_join_with should be defined in c++23"
5714+
# endif
5715+
# if __cpp_lib_ranges_join_with != 202202L
5716+
# error "__cpp_lib_ranges_join_with should have the value 202202L in c++23"
56515717
# endif
56525718

56535719
# ifndef __cpp_lib_ranges_repeat
@@ -6416,6 +6482,20 @@
64166482
# error "__cpp_lib_clamp should have the value 201603L in c++26"
64176483
# endif
64186484

6485+
# ifndef __cpp_lib_common_reference
6486+
# error "__cpp_lib_common_reference should be defined in c++26"
6487+
# endif
6488+
# if __cpp_lib_common_reference != 202302L
6489+
# error "__cpp_lib_common_reference should have the value 202302L in c++26"
6490+
# endif
6491+
6492+
# ifndef __cpp_lib_common_reference_wrapper
6493+
# error "__cpp_lib_common_reference_wrapper should be defined in c++26"
6494+
# endif
6495+
# if __cpp_lib_common_reference_wrapper != 202302L
6496+
# error "__cpp_lib_common_reference_wrapper should have the value 202302L in c++26"
6497+
# endif
6498+
64196499
# ifndef __cpp_lib_complex_udls
64206500
# error "__cpp_lib_complex_udls should be defined in c++26"
64216501
# endif
@@ -6478,6 +6558,13 @@
64786558
# error "__cpp_lib_constexpr_dynamic_alloc should have the value 201907L in c++26"
64796559
# endif
64806560

6561+
# ifndef __cpp_lib_constexpr_forward_list
6562+
# error "__cpp_lib_constexpr_forward_list should be defined in c++26"
6563+
# endif
6564+
# if __cpp_lib_constexpr_forward_list != 202502L
6565+
# error "__cpp_lib_constexpr_forward_list should have the value 202502L in c++26"
6566+
# endif
6567+
64816568
# ifndef __cpp_lib_constexpr_functional
64826569
# error "__cpp_lib_constexpr_functional should be defined in c++26"
64836570
# endif
@@ -6492,6 +6579,13 @@
64926579
# error "__cpp_lib_constexpr_iterator should have the value 201811L in c++26"
64936580
# endif
64946581

6582+
# ifndef __cpp_lib_constexpr_list
6583+
# error "__cpp_lib_constexpr_list should be defined in c++26"
6584+
# endif
6585+
# if __cpp_lib_constexpr_list != 202502L
6586+
# error "__cpp_lib_constexpr_list should have the value 202502L in c++26"
6587+
# endif
6588+
64956589
# ifndef __cpp_lib_constexpr_memory
64966590
# error "__cpp_lib_constexpr_memory should be defined in c++26"
64976591
# endif
@@ -6519,6 +6613,13 @@
65196613
# error "__cpp_lib_constexpr_numeric should have the value 201911L in c++26"
65206614
# endif
65216615

6616+
# ifndef __cpp_lib_constexpr_queue
6617+
# error "__cpp_lib_constexpr_queue should be defined in c++26"
6618+
# endif
6619+
# if __cpp_lib_constexpr_queue != 202502L
6620+
# error "__cpp_lib_constexpr_queue should have the value 202502L in c++26"
6621+
# endif
6622+
65226623
# ifndef __cpp_lib_constexpr_string
65236624
# error "__cpp_lib_constexpr_string should be defined in c++26"
65246625
# endif
@@ -6561,17 +6662,11 @@
65616662
# error "__cpp_lib_constexpr_vector should have the value 201907L in c++26"
65626663
# endif
65636664

6564-
# if !defined(_LIBCPP_VERSION)
6565-
# ifndef __cpp_lib_constrained_equality
6566-
# error "__cpp_lib_constrained_equality should be defined in c++26"
6567-
# endif
6568-
# if __cpp_lib_constrained_equality != 202403L
6569-
# error "__cpp_lib_constrained_equality should have the value 202403L in c++26"
6570-
# endif
6571-
# else
6572-
# ifdef __cpp_lib_constrained_equality
6573-
# error "__cpp_lib_constrained_equality should not be defined because it is unimplemented in libc++!"
6574-
# endif
6665+
# ifndef __cpp_lib_constrained_equality
6666+
# error "__cpp_lib_constrained_equality should be defined in c++26"
6667+
# endif
6668+
# if __cpp_lib_constrained_equality != 202411L
6669+
# error "__cpp_lib_constrained_equality should have the value 202411L in c++26"
65756670
# endif
65766671

65776672
# ifndef __cpp_lib_containers_ranges
@@ -7373,17 +7468,11 @@
73737468
# error "__cpp_lib_optional should have the value 202110L in c++26"
73747469
# endif
73757470

7376-
# if !defined(_LIBCPP_VERSION)
7377-
# ifndef __cpp_lib_optional_range_support
7378-
# error "__cpp_lib_optional_range_support should be defined in c++26"
7379-
# endif
7380-
# if __cpp_lib_optional_range_support != 202406L
7381-
# error "__cpp_lib_optional_range_support should have the value 202406L in c++26"
7382-
# endif
7383-
# else
7384-
# ifdef __cpp_lib_optional_range_support
7385-
# error "__cpp_lib_optional_range_support should not be defined because it is unimplemented in libc++!"
7386-
# endif
7471+
# ifndef __cpp_lib_optional_range_support
7472+
# error "__cpp_lib_optional_range_support should be defined in c++26"
7473+
# endif
7474+
# if __cpp_lib_optional_range_support != 202406L
7475+
# error "__cpp_lib_optional_range_support should have the value 202406L in c++26"
73877476
# endif
73887477

73897478
# ifndef __cpp_lib_out_ptr
@@ -7539,17 +7628,11 @@
75397628
# error "__cpp_lib_ranges_iota should have the value 202202L in c++26"
75407629
# endif
75417630

7542-
# if !defined(_LIBCPP_VERSION)
7543-
# ifndef __cpp_lib_ranges_join_with
7544-
# error "__cpp_lib_ranges_join_with should be defined in c++26"
7545-
# endif
7546-
# if __cpp_lib_ranges_join_with != 202202L
7547-
# error "__cpp_lib_ranges_join_with should have the value 202202L in c++26"
7548-
# endif
7549-
# else
7550-
# ifdef __cpp_lib_ranges_join_with
7551-
# error "__cpp_lib_ranges_join_with should not be defined because it is unimplemented in libc++!"
7552-
# endif
7631+
# ifndef __cpp_lib_ranges_join_with
7632+
# error "__cpp_lib_ranges_join_with should be defined in c++26"
7633+
# endif
7634+
# if __cpp_lib_ranges_join_with != 202202L
7635+
# error "__cpp_lib_ranges_join_with should have the value 202202L in c++26"
75537636
# endif
75547637

75557638
# ifndef __cpp_lib_ranges_repeat

0 commit comments

Comments
 (0)