diff options
author | Joe Loser <joeloser93@gmail.com> | 2021-09-22 11:46:21 -0400 |
---|---|---|
committer | Joe Loser <joeloser93@gmail.com> | 2021-09-22 11:47:38 -0400 |
commit | 400b33e18d27d801ec5ad1cc52b34c6d8bed64aa (patch) | |
tree | e9407e1e083aa6ea64651f03760268146b7098c9 /libcxx/TODO.TXT | |
parent | ca999f719117f916b333a794cc8c59984ae40dd2 (diff) | |
download | llvm-400b33e18d27d801ec5ad1cc52b34c6d8bed64aa.tar.gz |
[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
Diffstat (limited to 'libcxx/TODO.TXT')
-rw-r--r-- | libcxx/TODO.TXT | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libcxx/TODO.TXT b/libcxx/TODO.TXT index 4742b5b0ddc2..bc785546b48e 100644 --- a/libcxx/TODO.TXT +++ b/libcxx/TODO.TXT @@ -21,4 +21,3 @@ Misc Tasks * Find all sequences of >2 underscores and eradicate them. * run clang-tidy on libc++ * Document the "conditionally-supported" bits of libc++ -* Put a static_assert in std::allocator to deny const/volatile types (LWG 2447) |