[PATCH] D87326: [ADT] Fix reference invalidation when self referencing a SmallVector
Nathan James via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 9 18:56:44 PDT 2020
njames93 updated this revision to Diff 290861.
njames93 added a comment.
Extend behaviour to more methods.
`SmallVectorImpl<T>::insert(iterator, size_t, const T&);`
`SmallVectorImpl<T>::insert(iterator, ItTy, ItTy);`
Fixed up test cases for these usages.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87326/new/
https://reviews.llvm.org/D87326
Files:
llvm/include/llvm/ADT/SmallVector.h
llvm/unittests/ADT/SmallVectorTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87326.290861.patch
Type: text/x-patch
Size: 21298 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200910/597d4b19/attachment.bin>
More information about the llvm-commits
mailing list