llvm-project
cc2bedda - [lldb] Use std:::string::find with std::string_view (NFC) (#139679)

Commit
317 days ago
[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.
Parents
Loading