llvm-project/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create
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
..
allocate_shared.explicit_conversion.pass.cpp [libc++] Fix allocate_shared when used with an explicitly convertible allocator 2020-12-15 11:50:06 -05:00
allocate_shared.pass.cpp [libc++] LWG2070: Use Allocator construction for objects created with allocate_shared 2021-01-08 13:04:03 -05:00
allocate_shared_construct.pass.cpp [libc++] LWG2070: Use Allocator construction for objects created with allocate_shared 2021-01-08 13:04:03 -05:00
make_shared.pass.cpp [libc++] Disallow volatile types in std::allocator 2021-09-22 11:47:38 -04:00
make_shared.private.compile.fail.cpp [libc++] Remove Lit annotations for unsupported GCC versions from the test suite 2021-08-12 13:30:47 -04:00