Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support: Avoid SmallVector::set_size() in Unix code
Replace a `reserve()`/`set_size()` pair with `resize_for_overwrite()` and `truncate()`. The out parameter also needs a `clear()` call on the error path. Differential Revision: https://reviews.llvm.org/D115389
- Loading branch information