[all-commits] [llvm/llvm-project] 228e96: [llvm] Use std::make_optional (NFC) (#151627)
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Fri Aug 1 00:25:02 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 228e96b28a84828e1720c387a339a7e68dbdc029
https://github.com/llvm/llvm-project/commit/228e96b28a84828e1720c387a339a7e68dbdc029
Author: Kazu Hirata <kazu at google.com>
Date: 2025-08-01 (Fri, 01 Aug 2025)
Changed paths:
M llvm/include/llvm/Transforms/IPO/Attributor.h
M llvm/lib/IR/DebugInfoMetadata.cpp
M llvm/lib/Remarks/RemarkLinker.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
Log Message:
-----------
[llvm] Use std::make_optional (NFC) (#151627)
std::make_optional<T> is a lot like std::make_unique<T> in that it
performs perfect forwarding of arguments for T's constructor. As a
result, we don't have to repeat type names twice.
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