aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
diff options
context:
space:
mode:
authorPeng Liu <winner245@hotmail.com>2024-11-26 16:38:47 -0500
committerGitHub <noreply@github.com>2024-11-26 16:38:47 -0500
commit8458bbe5947db75041579c7c1a0f7f79c8e992d9 (patch)
tree3da4895906a6c5340d630090b7bdf7156edbcc45 /llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
parent105b7803ea22823a2fca2a82ee843d0884e9cbf3 (diff)
downloadllvm-8458bbe5947db75041579c7c1a0f7f79c8e992d9.zip
llvm-8458bbe5947db75041579c7c1a0f7f79c8e992d9.tar.gz
llvm-8458bbe5947db75041579c7c1a0f7f79c8e992d9.tar.bz2
[libc++] Fix capacity increase issue with `shrink_to_fit` for `__split_buffer` (#117720)
This PR fixes the issue where `__split_buffer::shrink_to_fit` may unexpectedly increase the capacity, similar to the issue for `std::vector` in #97895. The fix follows the same approach used in #97895 for `std::vector`.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp')
0 files changed, 0 insertions, 0 deletions