[PATCH] D129781: [NFC] Introduce llvm::to_vector_of to allow creation of SmallVector<T> from range of items convertible to type T

Dawid Jurczak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 18 03:53:54 PDT 2022


yurai007 updated this revision to Diff 445446.
yurai007 added a comment.

Replace to_vector_of usage with to_vector where possible, improve names in ToVectorOf test case. All comments should be addressed now.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129781

Files:
  llvm/include/llvm/ADT/SmallVector.h
  llvm/include/llvm/IR/Metadata.h
  llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
  llvm/lib/Linker/IRMover.cpp
  llvm/tools/llvm-rc/ResourceScriptStmt.h
  llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
  llvm/unittests/ADT/SmallVectorTest.cpp
  llvm/unittests/Analysis/VectorUtilsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129781.445446.patch
Type: text/x-patch
Size: 12259 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220718/293673cc/attachment.bin>


More information about the llvm-commits mailing list