The size of the vector is being increased by __n during the call to __move_range and not by 1.
This fixes a test failure in containers/sequences/vector/vector.modifiers/insert_iter_size_value.pass.cpp when using ASAN.
Details
Details
- Reviewers
kcc mclow.lists danalbert - Commits
- rGb9987293e60e: [libcxx] Fix vector annotator size increase in `vector::insert(pos, count…
rCXX222014: [libcxx] Fix vector annotator size increase in `vector::insert(pos, count…
rL222014: [libcxx] Fix vector annotator size increase in `vector::insert(pos, count…
Diff Detail
Diff Detail