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

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 12 16:39:39 PDT 2020


MaskRay added a comment.

Yeah, seems that SmallVector::push_back should be fixed to allow `a.push_back(a[0])`. SmallVector::insert has been fixed in rL134554 <https://reviews.llvm.org/rL134554>


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87326/new/

https://reviews.llvm.org/D87326



More information about the llvm-commits mailing list