diff options
Diffstat (limited to 'lldb/source')
| -rw-r--r-- | lldb/source/Core/IOHandler.cpp | 2 | ||||
| -rw-r--r-- | lldb/source/Interpreter/CommandInterpreter.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Core/IOHandler.cpp b/lldb/source/Core/IOHandler.cpp index 39fdd13e32a..315d20ed24b 100644 --- a/lldb/source/Core/IOHandler.cpp +++ b/lldb/source/Core/IOHandler.cpp @@ -127,7 +127,7 @@ void IOHandlerStack::PrintAsync(Stream *stream, const char *s, size_t len) { } } -IOHandlerConfirm::IOHandlerConfirm(Debugger &debugger, const char *prompt, +IOHandlerConfirm::IOHandlerConfirm(Debugger &debugger, llvm::StringRef prompt, bool default_response) : IOHandlerEditline( debugger, IOHandler::Type::Confirm, 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; |

