aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/MemoryBuffer.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2021-12-07 17:22:29 -0800
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2022-01-11 17:33:13 -0800
commit4d04526bf48d982055fd625803734b2afded3afb (patch)
tree1991f908d5b2341d10f66ff26e9c2af06d4dbdc7 /llvm/lib/Support/MemoryBuffer.cpp
parentd23fa4f2f1319039b7d939a4bf68c493ba26b07a (diff)
downloadllvm-4d04526bf48d982055fd625803734b2afded3afb.zip
llvm-4d04526bf48d982055fd625803734b2afded3afb.tar.gz
llvm-4d04526bf48d982055fd625803734b2afded3afb.tar.bz2
ADT: Avoid using SmallVector::set_size() in SmallString
Update `SmallString::append()` to use `resize_for_overwrite()` instead of `reserve()` followed by `set_size()`. Differential Revision: https://reviews.llvm.org/D115382
Diffstat (limited to 'llvm/lib/Support/MemoryBuffer.cpp')
0 files changed, 0 insertions, 0 deletions