aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorArthur O'Dwyer <arthur.j.odwyer@gmail.com>2021-03-01 17:08:24 -0500
committerArthur O'Dwyer <arthur.j.odwyer@gmail.com>2021-06-18 15:54:46 -0400
commitdd15c2723cd29574c341ec189409a6c83fbefb04 (patch)
tree806db69c7faf5c1009e6bde38eb8e0f0ddcfb530 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentbdd5da9dec61072f693726d9ed2a94c78e431ba2 (diff)
downloadllvm-dd15c2723cd29574c341ec189409a6c83fbefb04.zip
llvm-dd15c2723cd29574c341ec189409a6c83fbefb04.tar.gz
llvm-dd15c2723cd29574c341ec189409a6c83fbefb04.tar.bz2
[libc++] [P1518R2] Better CTAD behavior for containers with allocators.
P1518 does the following in C++23 but we'll just do it in C++17 as well: - Stop requiring `Alloc` to be an allocator on some container-adaptor deduction guides - Stop deducing from `Allocator` on some sequence container constructors - Stop deducing from `Allocator` on some other container constructors (libc++ already did this) The affected constructors are the "allocator-extended" versions of constructors where the non-allocator arguments are already sufficient to deduce the allocator type. For example, std::pmr::vector<int> v1; std::vector v2(v1, std::pmr::new_delete_resource()); std::stack s2(v1, std::pmr::new_delete_resource()); Differential Revision: https://reviews.llvm.org/D97742
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions