summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/Options.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/Interpreter/Options.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/Interpreter/Options.cpp')
-rw-r--r--lldb/source/Interpreter/Options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/Options.cpp b/lldb/source/Interpreter/Options.cpp
index f8eadcc43d5..3473c20796f 100644
--- a/lldb/source/Interpreter/Options.cpp
+++ b/lldb/source/Interpreter/Options.cpp
@@ -406,7 +406,7 @@ void Options::GenerateOptionUsage(Stream &strm, CommandObject *cmd,
auto opt_defs = GetDefinitions();
const uint32_t save_indent_level = strm.GetIndentLevel();
- const char *name;
+ llvm::StringRef name;
StreamString arguments_str;
OpenPOWER on IntegriCloud