Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
libcxx/utils/generate_feature_test_macro_components.py
Show First 20 Lines • Show All 309 Lines • ▼ Show 20 Lines | feature_test_macros = [ add_version_header(x) for x in [ | ||||
"headers": ["expected"], | "headers": ["expected"], | ||||
}, { | }, { | ||||
"name": "__cpp_lib_filesystem", | "name": "__cpp_lib_filesystem", | ||||
"values": { "c++17": 201703 }, | "values": { "c++17": 201703 }, | ||||
"headers": ["filesystem"], | "headers": ["filesystem"], | ||||
"test_suite_guard": "!defined(_LIBCPP_AVAILABILITY_HAS_NO_FILESYSTEM)", | "test_suite_guard": "!defined(_LIBCPP_AVAILABILITY_HAS_NO_FILESYSTEM)", | ||||
"libcxx_guard": "!defined(_LIBCPP_AVAILABILITY_HAS_NO_FILESYSTEM)" | "libcxx_guard": "!defined(_LIBCPP_AVAILABILITY_HAS_NO_FILESYSTEM)" | ||||
}, { | }, { | ||||
"name": "__cpp_lib_find_last", | |||||
"values": { "c++2b": 202207 }, | |||||
"headers": ["algorithm"], | |||||
}, { | |||||
"name": "__cpp_lib_format", | "name": "__cpp_lib_format", | ||||
"values": { | "values": { | ||||
# "c++20": 201907 Not implemented P1361R2 Integration of chrono with text formatting | # "c++20": 201907 Not implemented P1361R2 Integration of chrono with text formatting | ||||
# "c++20": 202106 Fully implemented | # "c++20": 202106 Fully implemented | ||||
# "c++20": 202110 Not implemented P2372R3 Fixing locale handling in chrono formatters | # "c++20": 202110 Not implemented P2372R3 Fixing locale handling in chrono formatters | ||||
"c++20": 202106, | "c++20": 202106, | ||||
# "c++23": 202207, Not implemented P2419R2 Clarify handling of encodings in localized formatting of chrono types | # "c++23": 202207, Not implemented P2419R2 Clarify handling of encodings in localized formatting of chrono types | ||||
}, | }, | ||||
▲ Show 20 Lines • Show All 914 Lines • Show Last 20 Lines |