[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
Tue Aug 2 01:32:08 PDT 2022
yurai007 added inline comments.
================
Comment at: llvm/unittests/ADT/SmallVectorTest.cpp:1144
+ static_assert(NumBuiltinElts(Vector) == 4u,
+ "Wrong built-in elements number");
+ ASSERT_EQ(3u, Vector.size());
----------------
For now message argument is required, soon after https://reviews.llvm.org/D130689 could be removed. Anyway if needed may be done in separate NFC.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129781/new/
https://reviews.llvm.org/D129781
More information about the llvm-commits
mailing list