llvm-project/libcxx/test/std/utilities/memory/util.smartptr
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
..
util.smartptr.enab [libc++] NFC: Normalize links to bug reports 2021-03-03 13:45:29 -05:00
util.smartptr.hash [libcxx][modularisation] splits `<utility>` into self-contained headers 2021-06-25 00:29:01 +00:00
util.smartptr.shared [libc++] Disallow volatile types in std::allocator 2021-09-22 11:47:38 -04:00
util.smartptr.shared.atomic [libcxx][iwyu] ensures we IWYU as prep for modules 2021-06-15 19:43:25 +00:00
util.smartptr.weak [libc++] Remove workarounds for the lack of deduction guides in C++17 2021-08-18 08:57:25 -04:00
util.smartptr.weakptr 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