[all-commits] [llvm/llvm-project] 0641ca: [BOLT] Avoid creating a temporary instance of std:...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Wed May 21 20:33:02 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0641ca1cd21d86f081157a33cd5e1aa2b1bd2d04
https://github.com/llvm/llvm-project/commit/0641ca1cd21d86f081157a33cd5e1aa2b1bd2d04
Author: Kazu Hirata <kazu at google.com>
Date: 2025-05-21 (Wed, 21 May 2025)
Changed paths:
M bolt/lib/Core/BinaryContext.cpp
Log Message:
-----------
[BOLT] Avoid creating a temporary instance of std::string (NFC) (#140987)
lookupTarget takes StringRef and internally creates an instance of
std::string with the StringRef as part of constructing Triple, so we
don't need to create a temporary instance of std::string on our own.
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