aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectSource.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/CommandObjectSource.cpp
parentf997759aef281363c6209b6bb3ddc737188b8931 (diff)
downloadllvm-a449698cdc52af553523e0364e2759949b155843.zip
llvm-a449698cdc52af553523e0364e2759949b155843.tar.gz
llvm-a449698cdc52af553523e0364e2759949b155843.tar.bz2
Convert CommandObject constructors to StringRef.
llvm-svn: 283384
Diffstat (limited to 'lldb/source/Commands/CommandObjectSource.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectSource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectSource.cpp b/lldb/source/Commands/CommandObjectSource.cpp
index 55e724a..b0231a7 100644
--- a/lldb/source/Commands/CommandObjectSource.cpp
+++ b/lldb/source/Commands/CommandObjectSource.cpp
@@ -585,7 +585,7 @@ protected:
if (argc != 0) {
result.AppendErrorWithFormat("'%s' takes no arguments, only flags.\n",
- GetCommandName());
+ GetCommandName().str().c_str());
result.SetStatus(eReturnStatusFailed);
return false;
}
@@ -990,7 +990,7 @@ protected:
if (argc != 0) {
result.AppendErrorWithFormat("'%s' takes no arguments, only flags.\n",
- GetCommandName());
+ GetCommandName().str().c_str());
result.SetStatus(eReturnStatusFailed);
return false;
}