llvm-project/libcxx/test/std
Louis Dionne 0da95a5cf2 [libc++] Workaround non-constexpr std::exchange pre C++20
std::exchange is only constexpr in C++20 and later. We were using it
in a constructor marked unconditionally constexpr, which caused issues
when building with -std=c++17.

The weird part is that the issue only showed up when building on the
arm64 macs, but that must be caused by the specific version of Clang
used on those. Since the code is clearly wrong and the fix is obvious,
I'm not going to investigate this further.
2021-07-13 10:51:03 -04:00
..
algorithms [libcxx] Move all algorithms into their own headers 2021-06-19 07:49:06 -04:00
atomics [libcxx][type_traits] remove `std::is_literal_type` and `std::result_of` for C++20 2021-07-02 17:10:19 +00:00
concepts [libc++] Remove random [[nodiscard]] in the test suite 2021-07-12 12:45:21 -04:00
containers [libcxx][ranges] Implement indirectly_swappable. 2021-07-01 15:08:23 -07:00
depr [libcxx] Implement P0883R2 ("Fixing Atomic Initialization") 2021-06-20 17:37:42 +03:00
diagnostics [runtimes] Simplify how we specify XFAIL & friends based on the triple 2021-07-01 14:03:30 -04:00
experimental [libcxx][nfc] Fix the ASAN bots: update expected.pass.cpp. 2021-05-26 14:06:25 -07:00
input.output [libcxx][ranges] Implement indirectly_swappable. 2021-07-01 15:08:23 -07:00
iterators [libc++] Remove random [[nodiscard]] in the test suite 2021-07-12 12:45:21 -04:00
language.support [SystemZ][z/OS][libcxx] mark aligned allocation tests UNSUPPORTED on z/OS 2021-07-07 10:54:38 -04:00
localization [runtimes] Simplify how we specify XFAIL & friends based on the triple 2021-07-01 14:03:30 -04:00
namespace [libc++] Add a libc++ configuration that does not support localization 2020-10-27 14:56:30 -04:00
numerics [runtimes] Simplify how we specify XFAIL & friends based on the triple 2021-07-01 14:03:30 -04:00
ranges [libc++] Remove random [[nodiscard]] in the test suite 2021-07-12 12:45:21 -04:00
re [libcxx][ranges] Implement indirectly_swappable. 2021-07-01 15:08:23 -07:00
strings [libcxx][ranges] Implement indirectly_swappable. 2021-07-01 15:08:23 -07:00
thread [libcxx] [test] Fix spurious failures in the thread join test on Windows 2021-07-12 23:31:53 +03:00
utilities [libc++] Workaround non-constexpr std::exchange pre C++20 2021-07-13 10:51:03 -04:00
pstl [libc++] Take 2: Integrate the PSTL into libc++ 2019-08-05 18:29:14 +00:00