llvm-project/libcxx/test/std/concepts/concepts.lang
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
..
concept.assignable
concept.common [libc++] [test] IWYU in <concepts> tests. 2021-08-09 09:39:36 -04:00
concept.commonref [libc++] [test] IWYU in <concepts> tests. 2021-08-09 09:39:36 -04:00
concept.constructible
concept.convertible
concept.copyconstructible
concept.default.init [libc++] Disallow volatile types in std::allocator 2021-09-22 11:47:38 -04:00
concept.derived
concept.destructible
concept.moveconstructible
concept.same
concept.swappable [libc++] Remove random [[nodiscard]] in the test suite 2021-07-12 12:45:21 -04:00
concepts.arithmetic [libc++] Remove random [[nodiscard]] in the test suite 2021-07-12 12:45:21 -04:00