aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorNikolas Klauser <nikolasklauser@berlin.de>2025-06-12 14:21:29 +0200
committerGitHub <noreply@github.com>2025-06-12 14:21:29 +0200
commitb9793118423f928b8dcda933aa581f3904ae2b68 (patch)
tree115af15430239e16883eb4e77f9b539a79bac766 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentaac603c47800bf2e167b53ddfd3bb10be292bc53 (diff)
downloadllvm-b9793118423f928b8dcda933aa581f3904ae2b68.zip
llvm-b9793118423f928b8dcda933aa581f3904ae2b68.tar.gz
llvm-b9793118423f928b8dcda933aa581f3904ae2b68.tar.bz2
[libc++] Remove allocator support from std::function (#140395)
The allocator support was removed in P0302R1, since it was impossible to implement. We're currently providing the API for this, but ignore the allocator in all cases but one (which is almost certainly an oversight). That case is the `function(allocator_arg_t, const Alloc&, Func)` constuctor. IMO we should remove the API entirely at a later date, but this only removes most of the code for now, leaving only the public functions. This not only simplifies the code quite a bit, but also results in the constructor being instantiated ~8x faster. Fixes #133901
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions