llvm-project/libcxx/test
Joe Loser 400b33e18d
[libc++] Disallow volatile types in std::allocator
LWG 2447 is marked as `Complete`, but there is no `static_assert` to
reject volatile types in `std::allocator`. See the discussion at
https://reviews.llvm.org/D108856.

Add `static_assert` in `std::allocator` to disallow volatile types. Since this
is an implementation choice, mark the binding test as `libc++` only.

Remove tests that use containers backed by `std::allocator` that test
the container when used with a volatile type.

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D109056
2021-09-22 11:47:38 -04:00
..
configs [libc++] Support -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=on in CI 2021-08-30 12:59:08 -07:00
libcxx [libc++] Disallow volatile types in std::allocator 2021-09-22 11:47:38 -04:00
std [libc++] Disallow volatile types in std::allocator 2021-09-22 11:47:38 -04:00
support [libc++] [P0919] Some belated review on D87171. 2021-09-20 14:46:38 -04:00
CMakeLists.txt [runtimes] Simplify how we set the target triple 2021-07-16 10:33:39 -04:00
lit.cfg.py [libc++] Allow specifying custom Lit config files 2020-06-18 10:06:04 -04:00