[all-commits] [llvm/llvm-project] a288d7: [llvm][ADT] Replace uses of `makeMutableArrayRef` ...

Joe Loser via All-commits all-commits at lists.llvm.org
Mon Jan 16 13:51:10 PST 2023


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

  Changed paths:
    M bolt/lib/Profile/DataAggregator.cpp
    M clang-tools-extra/clangd/FuzzyMatch.cpp
    M clang-tools-extra/clangd/SemanticSelection.cpp
    M clang-tools-extra/clangd/index/dex/Trigram.cpp
    M clang-tools-extra/pseudo/include/clang-pseudo/Forest.h
    M clang/include/clang/AST/DeclOpenMP.h
    M clang/include/clang/AST/OpenMPClause.h
    M clang/include/clang/AST/StmtOpenMP.h
    M clang/include/clang/Lex/MacroInfo.h
    M clang/lib/AST/StmtOpenMP.cpp
    M lld/COFF/Chunks.cpp
    M lld/COFF/DebugTypes.cpp
    M lld/COFF/Writer.cpp
    M lld/ELF/InputFiles.h
    M lld/ELF/SyntheticSections.cpp
    M lldb/source/Host/common/NativeProcessProtocol.cpp
    M llvm/include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h
    M llvm/include/llvm/IR/DataLayout.h
    M llvm/include/llvm/IR/Metadata.h
    M llvm/include/llvm/ProfileData/InstrProf.h
    M llvm/include/llvm/Support/Parallel.h
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/lib/ExecutionEngine/ExecutionEngine.cpp
    M llvm/lib/Support/Path.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/unittests/Support/Path.cpp
    M mlir/lib/Bytecode/Writer/IRNumbering.cpp
    M mlir/lib/Dialect/Affine/Transforms/LoopCoalescing.cpp
    M mlir/test/mlir-tblgen/constraint-unique.td
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp

  Log Message:
  -----------
  [llvm][ADT] Replace uses of `makeMutableArrayRef` with deduction guides

Similar to how `makeArrayRef` is deprecated in favor of deduction guides, do the
same for `makeMutableArrayRef`.

Once all of the places in-tree are using the deduction guides for
`MutableArrayRef`, we can mark `makeMutableArrayRef` as deprecated.

Differential Revision: https://reviews.llvm.org/D141814




More information about the All-commits mailing list