llvm-project/libcxx/test/std/concepts
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
..
concepts.callable [libc++] [test] IWYU in <concepts> tests. 2021-08-09 09:39:36 -04:00
concepts.compare [libc++][ranges] Add range.cmp: equal_to, not_equal_to, less, etc. 2021-04-22 17:33:04 -07:00
concepts.lang [libc++] Disallow volatile types in std::allocator 2021-09-22 11:47:38 -04:00
concepts.object [libc++] Remove random [[nodiscard]] in the test suite 2021-07-12 12:45:21 -04:00