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

Nathan James via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 14 19:46:16 PDT 2020


njames93 updated this revision to Diff 291761.
njames93 marked an inline comment as done.
njames93 added a comment.

Remove excessive `this->` from GrowBuffer.
Use range-based loop instead of for_each.


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.291761.patch
Type: text/x-patch
Size: 26072 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200915/5013ceb2/attachment.bin>


More information about the llvm-commits mailing list