[PATCH] D92522: [SmallVector] Allow SmallVector<T>

Sean Silva via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 3 17:13:27 PST 2020


silvas updated this revision to Diff 309410.
silvas added a comment.

Replace constexpr function with old-school class with static members.

It looks like GCC5 does not support multi-statement constexpr functions.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92522

Files:
  llvm/docs/ProgrammersManual.rst
  llvm/include/llvm/ADT/SmallVector.h
  llvm/unittests/ADT/SmallVectorTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92522.309410.patch
Type: text/x-patch
Size: 5635 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201204/400469c0/attachment.bin>


More information about the llvm-commits mailing list