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:42 -0800
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2022-01-11 17:52:41 -0800
commit4d4439470eaf015784b76fc84cd5373456ce3d5c (patch)
tree8a63fe15a195e37b28025895aad6e8679aac7aee /llvm/lib/Support/MemoryBuffer.cpp
parent3110060bc721a02e69ead4c56e037a03d31bedef (diff)
downloadllvm-4d4439470eaf015784b76fc84cd5373456ce3d5c.zip
llvm-4d4439470eaf015784b76fc84cd5373456ce3d5c.tar.gz
llvm-4d4439470eaf015784b76fc84cd5373456ce3d5c.tar.bz2
Support: Avoid SmallVector::set_size() in Windows code
Replace a few `reserve()` / `set_size()` pairs with `resize_for_overwrite()` / `truncate()` in the platform-specific code for Windows. Differential Revision: https://reviews.llvm.org/D115390
Diffstat (limited to 'llvm/lib/Support/MemoryBuffer.cpp')
0 files changed, 0 insertions, 0 deletions