summaryrefslogtreecommitdiff
path: root/libcxx/utils/generate_feature_test_macro_components.py
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2022-08-06 17:46:22 +0200
committerMark de Wever <koraq@xs4all.nl>2022-08-09 17:20:36 +0200
commit195287d90afb1b97a0fb869da501370e7c3e67c6 (patch)
treeae6d1a8faa8dd21324aeacfc5fadca5d7584d3d5 /libcxx/utils/generate_feature_test_macro_components.py
parent5e8094bae50b1dd533ca0a20693d28a58b9c0d59 (diff)
downloadllvm-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-xlibcxx/utils/generate_feature_test_macro_components.py3
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 },