[all-commits] [llvm/llvm-project] 0a8d5f: [flang] Use std::make_unique (NFC) (#97238)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Mon Jul 1 14:41:28 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a8d5f4e599fca394610a690e026c0460fc43270
      https://github.com/llvm/llvm-project/commit/0a8d5f4e599fca394610a690e026c0460fc43270
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M flang/lib/Optimizer/Builder/TemporaryStorage.cpp

  Log Message:
  -----------
  [flang] Use std::make_unique (NFC) (#97238)

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