[llvm][ADT] Mark `makeMutableArrayRef` as deprecated
authorJoe Loser <joeloser@fastmail.com>
Mon, 16 Jan 2023 21:52:16 +0000 (14:52 -0700)
committerJoe Loser <joeloser@fastmail.com>
Tue, 17 Jan 2023 20:01:11 +0000 (13:01 -0700)
commitc4b39cd09c4eeef2b3e3d32cb674f92c17eeb517
tree0128df457b370a55ceee6d0bca54c5dffd181ff2
parent68c197f07eeae71b9b772c9e0c3b846c7025b332
[llvm][ADT] Mark `makeMutableArrayRef` as deprecated

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.

Differential Revision: https://reviews.llvm.org/D141872
llvm/include/llvm/ADT/ArrayRef.h
llvm/unittests/ADT/ArrayRefTest.cpp