[libcxx-commits] [PATCH] D109056: [libc++] Disallow volatile types in std::allocator
Joe Loser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Sep 10 16:11:15 PDT 2021
jloser updated this revision to Diff 372030.
jloser retitled this revision from "[libc++] Reject volatile types in std::allocator" to "[libc++] Disallow volatile types in std::allocator".
jloser edited the summary of this revision.
jloser added a comment.
Update `std::make_shared` tests to not worry about testing support for volatile types.
Use `__is_volatile` so `std::allocator` rejects volatile types correctly on all standard modes (including C++03).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109056/new/
https://reviews.llvm.org/D109056
Files:
libcxx/TODO.TXT
libcxx/include/__memory/allocator.h
libcxx/test/libcxx/memory/allocator_volatile.verify.cpp
libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/make_shared.pass.cpp
libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/make_shared.volatile.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109056.372030.patch
Type: text/x-patch
Size: 5374 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210910/34205b47/attachment-0001.bin>
More information about the libcxx-commits
mailing list