[PATCH] [libcxx] Fix vector annotator size increase in `vector::insert(pos, count, value)`
Eric Fiselier
eric at efcs.ca
Thu Nov 13 23:00:26 PST 2014
Hi mclow.lists, danalbert, kcc,
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.
http://reviews.llvm.org/D6264
Files:
include/vector
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6264.16199.patch
Type: text/x-patch
Size: 523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141114/cb9c6378/attachment.bin>
More information about the cfe-commits
mailing list