[libc++] Define _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER whenever we enable warnings in the test suiteThis should make CI consistent on all the compilers we support. Most ofthis patch is working around
[libc++] Define _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER whenever we enable warnings in the test suiteThis should make CI consistent on all the compilers we support. Most ofthis patch is working around various warnings emitted by GCC in our codebase, which are now being shown when we compile the tests.After this patch, the whole test suite should be warning free on allcompilers we support and test, except for a few warnings on GCC thatwe silence explicitly until we figure out the proper fix for them.Differential Revision: https://reviews.llvm.org/D120684
show more ...
[libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI.All supported compilers that support C++20 now support concepts. So, remove`_LIB_LIBCPP_HAS_NO_CONCEPTS` in favor of `_LIBC
[libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI.All supported compilers that support C++20 now support concepts. So, remove`_LIB_LIBCPP_HAS_NO_CONCEPTS` in favor of `_LIBCPP_STD_VER > 17`. Similarly inthe tests, remove `// UNSUPPORTED: libcpp-no-concepts`.Differential Revision: https://reviews.llvm.org/D121528
[libc++][nfc] Add TEST_HAS_NO_THREADS.This avoids using an libc++ internal macro in our tests.Reviewed By: #libc, philnik, ldionneDifferential Revision: https://reviews.llvm.org/D119563
[libc++] Fix some tests that were broken in the single-threaded configurationWe never noticed it because our CI doesn't actually build against a Clibrary that doesn't have threading functionality,
[libc++] Fix some tests that were broken in the single-threaded configurationWe never noticed it because our CI doesn't actually build against a Clibrary that doesn't have threading functionality, however buildingagainst a truly thread-free platform surfaces these issues.Differential Revision: https://reviews.llvm.org/D114242
[libc++] Remove random [[nodiscard]] in the test suite
[libcxx] rearranges all concept testsmoves tests into directories matching their stable names so that thetests can reflect the concept nameDifferential Revision: https://reviews.llvm.org/D99104