summaryrefslogtreecommitdiffstats
path: root/libcxx/utils/generate_feature_test_macro_components.py
diff options
context:
space:
mode:
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 c11846ec6e1..ed015876aef 100755
--- a/libcxx/utils/generate_feature_test_macro_components.py
+++ b/libcxx/utils/generate_feature_test_macro_components.py
@@ -525,7 +525,8 @@ feature_test_macros = sorted([ add_version_header(x) for x in [
"c++2a": 201811L,
},
"headers": ["type_traits"],
- "unimplemented": True,
+ "depends": "TEST_HAS_BUILTIN(__builtin_is_constant_evaluated) || TEST_GCC_VER >= 900",
+ "internal_depends": "!defined(_LIBCPP_HAS_NO_BUILTIN_IS_CONSTANT_EVALUATED)",
},
{"name": "__cpp_lib_list_remove_return_type",
"values": {
OpenPOWER on IntegriCloud