[all-commits] [llvm/llvm-project] ddaa93: [llvm] Use std::make_unique (NFC) (#97165)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sat Jun 29 11:51:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ddaa93b095288ce459be4096193c40a4ea247b11
      https://github.com/llvm/llvm-project/commit/ddaa93b095288ce459be4096193c40a4ea247b11
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/MsgPackDocument.h
    M llvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp
    M llvm/lib/ExecutionEngine/Orc/Layer.cpp
    M llvm/lib/Object/TapiUniversal.cpp
    M llvm/lib/Target/ARM/ARMBlockPlacement.cpp
    M llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
    M llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
    M llvm/lib/XRay/Profile.cpp
    M llvm/tools/lli/ForwardingMemoryManager.h
    M llvm/tools/sancov/sancov.cpp
    M llvm/unittests/Support/ErrorOrTest.cpp

  Log Message:
  -----------
  [llvm] Use std::make_unique (NFC) (#97165)

This patch is based on clang-tidy's modernize-make-unique but limited
to those cases where type names are mentioned twice like
std::unique_ptr<Type>(new Type()), which is a bit mouthful.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list