llvm-project/libcxx/test/std/language.support
Louis Dionne 76fc35752d [libc++] Make feature-test macros consistent with availability macros
Before this patch, feature-test macros didn't take special availability
markup into account, which means that feature-test macros can sometimes
appear to "lie". For example, if you compile in C++20 mode and target
macOS 10.13, the __cpp_lib_filesystem feature-test macro will be provided
even though the <filesystem> declarations are marked as unavailable.
This patch fixes that.

rdar://68142369

Differential Revision: https://reviews.llvm.org/D94983
2021-02-04 11:40:22 -05:00
..
cmp Fix test failures with trunk clang 2020-09-29 17:10:07 -07:00
cstdint/cstdint.syn Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended. 2019-05-31 18:35:30 +00:00
support.dynamic [libc++] NFC: Fix several GCC warnings in the test suite 2020-10-30 12:48:05 -04:00
support.exception [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
support.general Support tests in freestanding 2019-02-04 20:31:13 +00:00
support.initlist [libc++] NFC: Fix several GCC warnings in the test suite 2020-10-30 12:48:05 -04:00
support.limits [libc++] Make feature-test macros consistent with availability macros 2021-02-04 11:40:22 -05:00
support.rtti [libc++] Rename the -fno-rtti Lit feature to just no-rtti 2020-09-29 16:29:44 -04:00
support.runtime [libc++] NFC: Fix several GCC warnings in the test suite 2020-10-30 12:48:05 -04:00
support.start.term [libc++] Clean up tests for "optional" C11 features 2020-07-28 15:13:05 -04:00
support.types [libcxx] Mark a test as unsupported for C++03 2021-01-07 12:06:08 +00:00