bulbazord added inline comments.
================
Comment at: lldb/include/lldb/Interpreter/OptionGroupPlatform.h:52
- void SetSDKRootDirectory(ConstString sdk_root_directory) {
- m_sdk_sysroot = sdk_root_directory;
+ void SetSDKRootDirectory(llvm::StringRef sdk_root_directory) {
+ m_sdk_sysroot = sdk_root_directory.str();
----------------
JDevlieghere wrote:
> This should take a std::string by value and move it.
Is there a specific reason you want to do that instead of using
`llvm::StringRef::str()`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152331/new/
https://reviews.llvm.org/D152331
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits