[all-commits] [llvm/llvm-project] cc2bed: [lldb] Use std:::string::find with std::string_vie...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Tue May 13 15:49:12 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cc2beddaa44fb1f0e0ca9eb51c5feaca368c00b0
https://github.com/llvm/llvm-project/commit/cc2beddaa44fb1f0e0ca9eb51c5feaca368c00b0
Author: Kazu Hirata <kazu at google.com>
Date: 2025-05-13 (Tue, 13 May 2025)
Changed paths:
M lldb/source/Interpreter/Options.cpp
Log Message:
-----------
[lldb] Use std:::string::find with std::string_view (NFC) (#139679)
std::string::find accepts anything that can be converted to
std::string_view starting in C++17. Since StringRef can be converted
to std::string_view, we do not need to create a temporary instance of
std::string here.
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