diff options
author | Zachary Turner <zturner@google.com> | 2016-10-05 21:14:56 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-10-05 21:14:56 +0000 |
commit | a01bccdbe613f5e65fa8da2fb07d6b9b66d203bf (patch) | |
tree | c16ba4c60dd4789d645227b2167cb31b4005804a /lldb/source/API/SBCommandInterpreter.cpp | |
parent | a483f579428067c4e7ae7e6617edb67911151ae9 (diff) | |
download | bcm5719-llvm-a01bccdbe613f5e65fa8da2fb07d6b9b66d203bf.tar.gz bcm5719-llvm-a01bccdbe613f5e65fa8da2fb07d6b9b66d203bf.zip |
Convert some more aliasing and CI functions to StringRef.
llvm-svn: 283386
Diffstat (limited to 'lldb/source/API/SBCommandInterpreter.cpp')
-rw-r--r-- | lldb/source/API/SBCommandInterpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBCommandInterpreter.cpp b/lldb/source/API/SBCommandInterpreter.cpp index 3ca5c0aad8c..45f8ab364b2 100644 --- a/lldb/source/API/SBCommandInterpreter.cpp +++ b/lldb/source/API/SBCommandInterpreter.cpp @@ -481,7 +481,7 @@ bool SBCommandInterpreter::SetCommandOverrideCallback( const char *command_name, lldb::CommandOverrideCallback callback, void *baton) { if (command_name && command_name[0] && IsValid()) { - std::string command_name_str(command_name); + llvm::StringRef command_name_str = command_name; CommandObject *cmd_obj = m_opaque_ptr->GetCommandObjectForCommand(command_name_str); if (cmd_obj) { |