From 442f6530d21d0980c591522a1bd35dcaebce6f68 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Sat, 12 Nov 2016 20:41:02 +0000 Subject: Make CommandObject help getters/setters use StringRef. llvm-svn: 286731 --- lldb/source/Commands/CommandObjectMultiword.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/source/Commands/CommandObjectMultiword.cpp') 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(CommandInterpreter &interpreter, 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 { -- cgit v1.1