summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectExpression.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-09-23 18:06:53 +0000
committerZachary Turner <zturner@google.com>2016-09-23 18:06:53 +0000
commit514d8cd83ea7408f7f4215a5f0233c6f10c7a1ca (patch)
treeaae2aa8aae6dc7bd2c941fa14b5fcae8a63a2281 /lldb/source/Commands/CommandObjectExpression.cpp
parent0120e3f278a5a9db6fa7b0cad258b209b409fa09 (diff)
downloadbcm5719-llvm-514d8cd83ea7408f7f4215a5f0233c6f10c7a1ca.tar.gz
bcm5719-llvm-514d8cd83ea7408f7f4215a5f0233c6f10c7a1ca.zip
Update the prompt related functions to use StringRefs.
llvm-svn: 282269
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectExpression.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectExpression.cpp b/lldb/source/Commands/CommandObjectExpression.cpp
index 11a4721a924..cdda76bc26d 100644
--- a/lldb/source/Commands/CommandObjectExpression.cpp
+++ b/lldb/source/Commands/CommandObjectExpression.cpp
@@ -482,8 +482,8 @@ void CommandObjectExpression::GetMultilineExpression() {
IOHandlerSP io_handler_sp(
new IOHandlerEditline(debugger, IOHandler::Type::Expression,
"lldb-expr", // Name of input reader for history
- nullptr, // No prompt
- nullptr, // Continuation prompt
+ llvm::StringRef(), // No prompt
+ llvm::StringRef(), // Continuation prompt
multiple_lines, color_prompt,
1, // Show line numbers starting at 1
*this));
OpenPOWER on IntegriCloud