Make CommandObject help getters/setters use StringRef.
llvm-svn: 286731
diff --git a/lldb/source/Commands/CommandObjectMultiword.cpp b/lldb/source/Commands/CommandObjectMultiword.cpp
index 9194b1d..249863b 100644
--- a/lldb/source/Commands/CommandObjectMultiword.cpp
+++ b/lldb/source/Commands/CommandObjectMultiword.cpp
@@ -278,11 +278,11 @@
CommandObjectProxy::~CommandObjectProxy() = default;
-const char *CommandObjectProxy::GetHelpLong() {
+llvm::StringRef CommandObjectProxy::GetHelpLong() {
CommandObject *proxy_command = GetProxyCommandObject();
if (proxy_command)
return proxy_command->GetHelpLong();
- return nullptr;
+ return llvm::StringRef();
}
bool CommandObjectProxy::IsRemovable() const {