[all-commits] [llvm/llvm-project] c4b39c: [llvm][ADT] Mark `makeMutableArrayRef` as deprecated

Joe Loser via All-commits all-commits at lists.llvm.org
Tue Jan 17 12:01:31 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4b39cd09c4eeef2b3e3d32cb674f92c17eeb517
      https://github.com/llvm/llvm-project/commit/c4b39cd09c4eeef2b3e3d32cb674f92c17eeb517
  Author: Joe Loser <joeloser at fastmail.com>
  Date:   2023-01-17 (Tue, 17 Jan 2023)

  Changed paths:
    M llvm/include/llvm/ADT/ArrayRef.h
    M llvm/unittests/ADT/ArrayRefTest.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list