[PATCH] D141872: [llvm][ADT] Mark `makeMutableArrayRef` as deprecated

Joe Loser via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 16 13:55:45 PST 2023


jloser created this revision.
jloser added reviewers: dblaikie, kazu, serge-sans-paille.
Herald added a project: All.
jloser requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Now that all of the uses of `makeMutableArrayRef` are replaced in-tree with use
of deduction guides (see
https://github.com/llvm/llvm-project/commit/a288d7f937708cf67d960962bfa22ffae37ddbf4),
mark `makeMutableArrayRef` as deprecated.

Also remove the old tests for `makeMutableArrayRef` in favor of the ones
introduced with the deduction guides in
https://github.com/llvm/llvm-project/commit/38791259c1165cedfa313e06dc20e443f1e20634.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141872

Files:
  llvm/include/llvm/ADT/ArrayRef.h
  llvm/unittests/ADT/ArrayRefTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141872.489636.patch
Type: text/x-patch
Size: 3714 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230116/26eda761/attachment.bin>


More information about the llvm-commits mailing list