summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandInterpreter.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-11-13 03:05:58 +0000
committerZachary Turner <zturner@google.com>2016-11-13 03:05:58 +0000
commit7a120c8b3df60a5da382f8f7baeaccdfa928bd5b (patch)
tree2d6db437b35e241ea84a9abdd74990459dee525c /lldb/source/Interpreter/CommandInterpreter.cpp
parent988968394d7f63fe9bc0ec0bfcd5e633d611be1a (diff)
downloadbcm5719-llvm-7a120c8b3df60a5da382f8f7baeaccdfa928bd5b.tar.gz
bcm5719-llvm-7a120c8b3df60a5da382f8f7baeaccdfa928bd5b.zip
Change IOHandlerConfirm to use StringRefs.
llvm-svn: 286743
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-rw-r--r--lldb/source/Interpreter/CommandInterpreter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp
index 89ef7fe7760..2243316232b 100644
--- a/lldb/source/Interpreter/CommandInterpreter.cpp
+++ b/lldb/source/Interpreter/CommandInterpreter.cpp
@@ -1896,7 +1896,7 @@ void CommandInterpreter::UpdatePrompt(llvm::StringRef new_prompt) {
m_command_io_handler_sp->SetPrompt(new_prompt);
}
-bool CommandInterpreter::Confirm(const char *message, bool default_answer) {
+bool CommandInterpreter::Confirm(llvm::StringRef message, bool default_answer) {
// Check AutoConfirm first:
if (m_debugger.GetAutoConfirm())
return default_answer;
OpenPOWER on IntegriCloud