diff options
author | Mark de Wever <koraq@xs4all.nl> | 2022-08-06 17:46:22 +0200 |
---|---|---|
committer | Mark de Wever <koraq@xs4all.nl> | 2022-08-09 17:20:36 +0200 |
commit | 195287d90afb1b97a0fb869da501370e7c3e67c6 (patch) | |
tree | ae6d1a8faa8dd21324aeacfc5fadca5d7584d3d5 /libcxx/utils/generate_feature_test_macro_components.py | |
parent | 5e8094bae50b1dd533ca0a20693d28a58b9c0d59 (diff) | |
download | llvm-195287d90afb1b97a0fb869da501370e7c3e67c6.tar.gz |
[libc++][ranges] Sets ranges feature-test macro.
D131234 marked the ranges papers as complete, but it didn't set the
feature-test macro.
Reviewed By: ldionne, var-const, #libc
Differential Revision: https://reviews.llvm.org/D131326
Diffstat (limited to 'libcxx/utils/generate_feature_test_macro_components.py')
-rwxr-xr-x | libcxx/utils/generate_feature_test_macro_components.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxx/utils/generate_feature_test_macro_components.py b/libcxx/utils/generate_feature_test_macro_components.py index f9bfa13cc299..b6078c002f44 100755 --- a/libcxx/utils/generate_feature_test_macro_components.py +++ b/libcxx/utils/generate_feature_test_macro_components.py @@ -522,7 +522,8 @@ feature_test_macros = [ add_version_header(x) for x in [ "name": "__cpp_lib_ranges", "values": { "c++20": 201811 }, "headers": ["algorithm", "functional", "iterator", "memory", "ranges"], - "unimplemented": True, + "test_suite_guard": "!defined(_LIBCPP_HAS_NO_INCOMPLETE_RANGES)", + "libcxx_guard": "!defined(_LIBCPP_HAS_NO_INCOMPLETE_RANGES)", }, { "name": "__cpp_lib_ranges_chunk", "values": { "c++2b": 202202 }, |