aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectMultiword.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/CommandObjectMultiword.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/CommandObjectMultiword.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectMultiword.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectMultiword.cpp b/lldb/source/Commands/CommandObjectMultiword.cpp
index 80d6419..9194b1d 100644
--- a/lldb/source/Commands/CommandObjectMultiword.cpp
+++ b/lldb/source/Commands/CommandObjectMultiword.cpp
@@ -143,7 +143,7 @@ bool CommandObjectMultiword::Execute(const char *args_string,
}
} else {
result.AppendErrorWithFormat("'%s' does not have any subcommands.\n",
- GetCommandName());
+ GetCommandName().str().c_str());
result.SetStatus(eReturnStatusFailed);
}
}