Update SmallString::append() to use resize_for_overwrite() instead
of reserve() followed by set_size().
A step toward https://reviews.llvm.org/D115380.
Differential D115382
ADT: Avoid using SmallVector::set_size() in SmallString dexonsmith on Dec 8 2021, 12:47 PM. Authored by
Details Update SmallString::append() to use resize_for_overwrite() instead A step toward https://reviews.llvm.org/D115380.
Diff Detail Event Timeline
Comment Actions Thanks for the review! Landed in 4d04526bf48d982055fd625803734b2afded3afb.
|
Moved this to precede the for loop before landing (must have moved it down to make the diff look nicer and failed to rerun tests...).