diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2021-12-07 17:22:42 -0800 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2022-01-11 17:52:41 -0800 |
commit | 4d4439470eaf015784b76fc84cd5373456ce3d5c (patch) | |
tree | 8a63fe15a195e37b28025895aad6e8679aac7aee /llvm/lib/Support/MemoryBuffer.cpp | |
parent | 3110060bc721a02e69ead4c56e037a03d31bedef (diff) | |
download | llvm-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