[all-commits] [llvm/llvm-project] 8f018d: [libc++][test] Make the feature-test macro tests m...
Stephan T. Lavavej via All-commits
all-commits at lists.llvm.org
Sat Dec 2 17:41:37 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8f018d3ca027504d76a1996e7331ff46f9f966f6
https://github.com/llvm/llvm-project/commit/8f018d3ca027504d76a1996e7331ff46f9f966f6
Author: Stephan T. Lavavej <stl at nuwen.net>
Date: 2023-12-02 (Sat, 02 Dec 2023)
Changed paths:
M libcxx/test/std/language.support/support.limits/support.limits.general/latch.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/new.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/semaphore.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/stop_token.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/thread.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
M libcxx/utils/generate_feature_test_macro_components.py
Log Message:
-----------
[libc++][test] Make the feature-test macro tests more portable (#74185)
Found while running libc++'s test suite with MSVC's STL.
This is a followup to @philnik777's recent #71002 (thank you!) which
provided the existing examples of `__cpp_lib_barrier` and
`__cpp_lib_polymorphic_allocator`:
https://github.com/llvm/llvm-project/blob/66a3e4fafb6eae19764f8a192ca3a116c0554211/libcxx/utils/generate_feature_test_macro_components.py#L199-L203
https://github.com/llvm/llvm-project/blob/66a3e4fafb6eae19764f8a192ca3a116c0554211/libcxx/utils/generate_feature_test_macro_components.py#L866-L870
Applying that new pattern to the feature-test macros here gets their
corresponding tests passing for us.
:robot: Only `generate_feature_test_macro_components.py` was manually
updated; the other files were regenerated.
More information about the All-commits
mailing list