[PATCH] D130268: [NFC] Add SmallVector constructor to allow creation of SmallVector<T> from ArrayRef of items convertible to type T

Sergei Barannikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 22 08:37:18 PDT 2022


barannikov88 added inline comments.


================
Comment at: llvm/include/llvm/ADT/SmallVector.h:35
 
+template <class T> class ArrayRef;
+
----------------
Should be `typename T`. `class T` is archaic.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130268



More information about the cfe-commits mailing list