[PATCH] D87326: [ADT] Fix reference invalidation when self referencing a SmallVector

Nathan James via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 10 05:12:20 PDT 2020


njames93 updated this revision to Diff 290947.
njames93 added a comment.

Add buffer to `append(iterator, iterator)` to handle `SmallVec.append(SmallVec.begin(), SmallVec.end());`


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.290947.patch
Type: text/x-patch
Size: 23218 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200910/9af636d5/attachment.bin>


More information about the llvm-commits mailing list