Skip to content

Commit 7905d89

Browse files
committed
Run generator scripts
1 parent 83fc2db commit 7905d89

File tree

8 files changed

+32
-80
lines changed

8 files changed

+32
-80
lines changed

libcxx/docs/FeatureTestMacroTable.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ Status
390390
---------------------------------------------------------- -----------------
391391
``__cpp_lib_reference_from_temporary`` *unimplemented*
392392
---------------------------------------------------------- -----------------
393-
``__cpp_lib_spanstream`` ``202106L``
393+
``__cpp_lib_spanstream`` *unimplemented*
394394
---------------------------------------------------------- -----------------
395395
``__cpp_lib_stacktrace`` *unimplemented*
396396
---------------------------------------------------------- -----------------

libcxx/include/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ __cpp_lib_void_t 201411L <type_traits>
523523
# define __cpp_lib_ranges_to_container 202202L
524524
// # define __cpp_lib_ranges_zip 202110L
525525
// # define __cpp_lib_reference_from_temporary 202202L
526-
# define __cpp_lib_spanstream 202106L
526+
// # define __cpp_lib_spanstream 202106L
527527
// # define __cpp_lib_stacktrace 202011L
528528
# define __cpp_lib_stdatomic_h 202011L
529529
# define __cpp_lib_string_contains 202011L

libcxx/modules/std.compat.cppm.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ module;
6868
# if __has_include(<rcu>)
6969
# error "please update the header information for <rcu> in headers_not_available in utils/libcxx/header_information.py"
7070
# endif // __has_include(<rcu>)
71+
# if __has_include(<spanstream>)
72+
# error "please update the header information for <spanstream> in headers_not_available in utils/libcxx/header_information.py"
73+
# endif // __has_include(<spanstream>)
7174
# if __has_include(<stacktrace>)
7275
# error "please update the header information for <stacktrace> in headers_not_available in utils/libcxx/header_information.py"
7376
# endif // __has_include(<stacktrace>)

libcxx/modules/std.cppm.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ module;
181181
# if __has_include(<rcu>)
182182
# error "please update the header information for <rcu> in headers_not_available in utils/libcxx/header_information.py"
183183
# endif // __has_include(<rcu>)
184+
# if __has_include(<spanstream>)
185+
# error "please update the header information for <spanstream> in headers_not_available in utils/libcxx/header_information.py"
186+
# endif // __has_include(<spanstream>)
184187
# if __has_include(<stacktrace>)
185188
# error "please update the header information for <stacktrace> in headers_not_available in utils/libcxx/header_information.py"
186189
# endif // __has_include(<stacktrace>)

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

Lines changed: 0 additions & 68 deletions
This file was deleted.

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

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

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"
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
58155821
# endif
58165822

58175823
# ifndef __cpp_lib_ssize
@@ -7738,11 +7744,17 @@
77387744
# error "__cpp_lib_span_initializer_list should have the value 202311L in c++26"
77397745
# endif
77407746

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"
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
77467758
# endif
77477759

77487760
# ifndef __cpp_lib_ssize

libcxx/utils/generate_feature_test_macro_components.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,6 +1269,7 @@ def add_version_header(tc):
12691269
"name": "__cpp_lib_spanstream",
12701270
"values": {"c++23": 202106},
12711271
"headers": ["spanstream"],
1272+
"unimplemented": True,
12721273
},
12731274
{
12741275
"name": "__cpp_lib_ssize",

libcxx/utils/libcxx/header_information.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ def __hash__(self) -> int:
169169
"inplace_vector",
170170
"linalg",
171171
"rcu",
172+
"spanstream",
172173
"stacktrace",
173174
"stdfloat",
174175
"text_encoding",

0 commit comments

Comments
 (0)