[all-commits] [llvm/llvm-project] 33860b: [lldb] Streamline ConstString -> std::string conve...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Fri Jan 26 15:04:22 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 33860b2f61a8a74141ae76ecd54742f9cfeb0d03
https://github.com/llvm/llvm-project/commit/33860b2f61a8a74141ae76ecd54742f9cfeb0d03
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-01-26 (Fri, 26 Jan 2024)
Changed paths:
M lldb/include/lldb/Utility/ConstString.h
M lldb/unittests/Utility/ConstStringTest.cpp
Log Message:
-----------
[lldb] Streamline ConstString -> std::string conversion (NFC) (#79649)
Make it easier to go from a ConstString to a std::string without having
to go through a C-String or a llvm::StringRef. I made the conversion
operator explicit as this is a relatively expensive operations (compared
to a StringRef or string_view).
More information about the All-commits
mailing list