[PATCH] D93779: ADT: Fix reference invalidation in SmallVector::push_back and single-element insert
Duncan P. N. Exon Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 13 19:25:16 PST 2021
dexonsmith updated this revision to Diff 316554.
dexonsmith added a comment.
Replacing `insert_one_maybe_copy` indirection with a forwarding helper called `forward_value_param`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93779/new/
https://reviews.llvm.org/D93779
Files:
llvm/include/llvm/ADT/SmallVector.h
llvm/unittests/ADT/SmallVectorTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93779.316554.patch
Type: text/x-patch
Size: 12758 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210114/11d037c5/attachment.bin>
More information about the llvm-commits
mailing list