summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectHelp.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-10-05 21:14:38 +0000
committerZachary Turner <zturner@google.com>2016-10-05 21:14:38 +0000
commita449698cdc52af553523e0364e2759949b155843 (patch)
tree9f11fdb58b0581c76c514a326bc08fa44d68f676 /lldb/source/Commands/CommandObjectHelp.cpp
parentf997759aef281363c6209b6bb3ddc737188b8931 (diff)
downloadbcm5719-llvm-a449698cdc52af553523e0364e2759949b155843.tar.gz
bcm5719-llvm-a449698cdc52af553523e0364e2759949b155843.zip
Convert CommandObject constructors to StringRef.
llvm-svn: 283384
Diffstat (limited to 'lldb/source/Commands/CommandObjectHelp.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectHelp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectHelp.cpp b/lldb/source/Commands/CommandObjectHelp.cpp
index d03b5cd7d17..1495e93baf9 100644
--- a/lldb/source/Commands/CommandObjectHelp.cpp
+++ b/lldb/source/Commands/CommandObjectHelp.cpp
@@ -166,7 +166,7 @@ bool CommandObjectHelp::DoExecute(Args &command, CommandReturnObject &result) {
m_interpreter.GetCommandPrefix(), sub_command.c_str());
result.GetOutputStream().Printf(
"\nThe closest match is '%s'. Help on it follows.\n\n",
- sub_cmd_obj->GetCommandName());
+ sub_cmd_obj->GetCommandName().str().c_str());
}
}
OpenPOWER on IntegriCloud