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
Please sign in to comment