summaryrefslogtreecommitdiff
path: root/libcxx/utils/generate_feature_test_macro_components.py
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2022-04-11 10:42:45 -0400
committerLouis Dionne <ldionne.2@gmail.com>2022-05-06 09:52:48 -0400
commit586efd52b93f083d095bf3319da7e42f221c3f4a (patch)
tree5847877009ddf8abf6057fab59dc54edbdb169e6 /libcxx/utils/generate_feature_test_macro_components.py
parent56ee5d9337fac7fcf9e755e75d85563d84d1b89c (diff)
downloadllvm-586efd52b93f083d095bf3319da7e42f221c3f4a.tar.gz
[libc++][P0943] Add stdatomic.h header.
* https://wg21.link/P0943 * https://eel.is/c++draft/stdatomic.h.syn This is a re-application of 5d1c1a24, which was reverted in 987c7f407 because it broke the LLDB build. Co-authored-by: Marek Kurdej <marek.kurdej@gmail.com> Differential Revision: https://reviews.llvm.org/D97044
Diffstat (limited to 'libcxx/utils/generate_feature_test_macro_components.py')
-rwxr-xr-xlibcxx/utils/generate_feature_test_macro_components.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/utils/generate_feature_test_macro_components.py b/libcxx/utils/generate_feature_test_macro_components.py
index fd8a52911f84..1e31677fb757 100755
--- a/libcxx/utils/generate_feature_test_macro_components.py
+++ b/libcxx/utils/generate_feature_test_macro_components.py
@@ -658,7 +658,6 @@ feature_test_macros = [ add_version_header(x) for x in [
"name": "__cpp_lib_stdatomic_h",
"values": { "c++2b": 202011 },
"headers": ["stdatomic.h"],
- "unimplemented": True,
}, {
"name": "__cpp_lib_string_contains",
"values": { "c++2b": 202011 },
@@ -780,7 +779,8 @@ lit_markup = {
"regex": ["UNSUPPORTED: libcpp-has-no-localization"],
"semaphore": ["UNSUPPORTED: libcpp-has-no-threads"],
"shared_mutex": ["UNSUPPORTED: libcpp-has-no-threads"],
- "thread": ["UNSUPPORTED: libcpp-has-no-threads"]
+ "stdatomic.h": ["UNSUPPORTED: libcpp-has-no-threads"],
+ "thread": ["UNSUPPORTED: libcpp-has-no-threads"],
}
def get_std_dialects():