[all-commits] [llvm/llvm-project] eb5dba: [clang] Use std::make_unique (NFC) (#97176)
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Sat Jun 29 16:12:39 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: eb5dbaf8d013839a66691e954a58d22a41f3c027
https://github.com/llvm/llvm-project/commit/eb5dbaf8d013839a66691e954a58d22a41f3c027
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGCoroutine.cpp
M clang/lib/Interpreter/CodeCompletion.cpp
Log Message:
-----------
[clang] Use std::make_unique (NFC) (#97176)
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