[PATCH] D141872: [llvm][ADT] Mark `makeMutableArrayRef` as deprecated
Joe Loser via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 17 10:38:29 PST 2023
jloser marked an inline comment as done.
jloser added inline comments.
================
Comment at: llvm/include/llvm/ADT/ArrayRef.h:609
+ template <typename T>
+ LLVM_DEPRECATED("Use deduction guide instead", "ArrayRef")
MutableArrayRef<T> makeMutableArrayRef(T &OneElt) {
----------------
dblaikie wrote:
> Should the replacements be `MutableArrayRef` rather than `ArrayRef`?
Oops, yeah, they should. Just updated them — thanks!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141872/new/
https://reviews.llvm.org/D141872
More information about the llvm-commits
mailing list