[PATCH] D141327: [llvm][ADT] Add deduction guides for `MutableArrayRef`

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 10 03:02:38 PST 2023


serge-sans-paille accepted this revision.
serge-sans-paille added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/include/llvm/ADT/ArrayRef.h:590
+  /// Deduction guide to construct a `MutableArrayRef` from a `MutableArrayRef`
+  /// (no-op) (const).
+  template <class T>
----------------
I don't think this is going to be a n-op : it's going to call the copy constructor.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141327



More information about the llvm-commits mailing list