This appears to be a bug in our string::assign: when assigning into a longer string, from a shorter snippet of itself, we invalidate iterators before doing the copy. We should invalidate them afterward. Also drive-by improve the formatting of a function header. Differential Revision: https://reviews.llvm.org/D101675 |
||
|---|---|---|
| .. | ||
| string_append | ||
| string_assign | ||
| string_copy | ||
| string_erase | ||
| string_insert | ||
| string_op_plus_equal | ||
| string_replace | ||
| string_swap | ||
| robust_against_adl.pass.cpp | ||