[PATCH] D125837: [ADT] Make ArrayRef constexpr friendly

Nathan James via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 18 12:10:19 PDT 2022


njames93 created this revision.
njames93 added reviewers: dblaikie, chandlerc.
Herald added a project: All.
njames93 published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This class is similar to std::span which uses constexpr for most member functions, theres no reason ArrayRef shouldn't be the same.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125837

Files:
  llvm/include/llvm/ADT/ArrayRef.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125837.430187.patch
Type: text/x-patch
Size: 18853 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220518/c224cd31/attachment.bin>


More information about the llvm-commits mailing list