summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandObject.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-11-17 01:37:42 +0000
committerZachary Turner <zturner@google.com>2016-11-17 01:37:42 +0000
commit4aa8753c8103f1e1988b79325f957a587c150337 (patch)
tree9d6111d7b94f298115f955e82d1b4d7053bb332e /lldb/source/Interpreter/CommandObject.cpp
parent004319554cf6044896073b8a305ba9d340ed5f94 (diff)
downloadbcm5719-llvm-4aa8753c8103f1e1988b79325f957a587c150337.tar.gz
bcm5719-llvm-4aa8753c8103f1e1988b79325f957a587c150337.zip
Convert AutoComplete related code to StringRef.
Differential Revision: https://reviews.llvm.org/D26721 llvm-svn: 287188
Diffstat (limited to 'lldb/source/Interpreter/CommandObject.cpp')
-rw-r--r--lldb/source/Interpreter/CommandObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandObject.cpp b/lldb/source/Interpreter/CommandObject.cpp
index 4c6ec8e4ba6..36fcea0a9c2 100644
--- a/lldb/source/Interpreter/CommandObject.cpp
+++ b/lldb/source/Interpreter/CommandObject.cpp
@@ -1023,7 +1023,7 @@ static llvm::StringRef arch_helper() {
static StreamString g_archs_help;
if (g_archs_help.Empty()) {
StringList archs;
- ArchSpec::AutoComplete(nullptr, archs);
+ ArchSpec::AutoComplete(llvm::StringRef(), archs);
g_archs_help.Printf("These are the supported architecture names:\n");
archs.Join("\n", g_archs_help);
}
OpenPOWER on IntegriCloud