diff options
| author | Peng Liu <winner245@hotmail.com> | 2024-11-26 16:38:47 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-26 16:38:47 -0500 |
| commit | 8458bbe5947db75041579c7c1a0f7f79c8e992d9 (patch) | |
| tree | 3da4895906a6c5340d630090b7bdf7156edbcc45 /llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp | |
| parent | 105b7803ea22823a2fca2a82ee843d0884e9cbf3 (diff) | |
| download | llvm-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
