diff options
author | Mark de Wever <koraq@xs4all.nl> | 2023-02-18 18:30:56 +0100 |
---|---|---|
committer | Mark de Wever <koraq@xs4all.nl> | 2023-04-08 16:39:34 +0200 |
commit | 88622aabf10764cc32d546f448076d25b13e94cd (patch) | |
tree | ec5ba9b44078bc13a820234b2883e453c0550c47 /libcxx/utils/generate_feature_test_macro_components.py | |
parent | f43adc498065fdfa120bd1aeea02c64f7ecea8f9 (diff) | |
download | llvm-88622aabf10764cc32d546f448076d25b13e94cd.tar.gz |
[libc++][format] Implements formatter thread::id.
Since stacktrace header is WIP and it's not sure that will be done
before LLVM17 update the documentation. When the header is implemented
implementing the formatter is trivial, so that can be done quickly
afterwards.
Implements parts of:
- P2693R1 Formatting thread::id and stacktrace
Reviewed By: #libc, ldionne
Differential Revision: https://reviews.llvm.org/D144331
Diffstat (limited to 'libcxx/utils/generate_feature_test_macro_components.py')
-rwxr-xr-x | libcxx/utils/generate_feature_test_macro_components.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libcxx/utils/generate_feature_test_macro_components.py b/libcxx/utils/generate_feature_test_macro_components.py index 967894d4c306..d617352b2cfc 100755 --- a/libcxx/utils/generate_feature_test_macro_components.py +++ b/libcxx/utils/generate_feature_test_macro_components.py @@ -328,6 +328,13 @@ feature_test_macros = [ add_version_header(x) for x in [ "libcxx_guard": "!defined(_LIBCPP_HAS_NO_INCOMPLETE_FORMAT)", "unimplemented": True, }, { + "name": "__cpp_lib_formatters", + "values": { "c++2b": 202302 }, + "headers": ["stacktrace", "thread"], + "test_suite_guard": "!defined(_LIBCPP_AVAILABILITY_DISABLE_FTM___cpp_lib_format) && !defined(_LIBCPP_HAS_NO_INCOMPLETE_FORMAT)", + "libcxx_guard": "!defined(_LIBCPP_AVAILABILITY_DISABLE_FTM___cpp_lib_format) && !defined(_LIBCPP_HAS_NO_INCOMPLETE_FORMAT)", + "unimplemented": True, + }, { "name": "__cpp_lib_forward_like", "values": { "c++2b": 202207 }, "headers": ["utility"], |