Loading lldb/include/lldb/Interpreter/CommandInterpreter.h +3 −3 Original line number Diff line number Diff line Loading @@ -443,13 +443,13 @@ public: bool GetPromptOnQuit() const; void SetPromptOnQuit(bool b); void SetPromptOnQuit(bool enable); bool GetEchoCommands() const; void SetEchoCommands(bool b); void SetEchoCommands(bool enable); bool GetEchoCommentCommands() const; void SetEchoCommentCommands(bool b); void SetEchoCommentCommands(bool enable); /// Specify if the command interpreter should allow that the user can /// specify a custom exit code when calling 'quit'. Loading lldb/source/Interpreter/CommandInterpreter.cpp +6 −6 Original line number Diff line number Diff line Loading @@ -137,9 +137,9 @@ bool CommandInterpreter::GetPromptOnQuit() const { nullptr, idx, g_interpreter_properties[idx].default_uint_value != 0); } void CommandInterpreter::SetPromptOnQuit(bool b) { void CommandInterpreter::SetPromptOnQuit(bool enable) { const uint32_t idx = ePropertyPromptOnQuit; m_collection_sp->SetPropertyAtIndexAsBoolean(nullptr, idx, b); m_collection_sp->SetPropertyAtIndexAsBoolean(nullptr, idx, enable); } bool CommandInterpreter::GetEchoCommands() const { Loading @@ -148,9 +148,9 @@ bool CommandInterpreter::GetEchoCommands() const { nullptr, idx, g_interpreter_properties[idx].default_uint_value != 0); } void CommandInterpreter::SetEchoCommands(bool b) { void CommandInterpreter::SetEchoCommands(bool enable) { const uint32_t idx = ePropertyEchoCommands; m_collection_sp->SetPropertyAtIndexAsBoolean(nullptr, idx, b); m_collection_sp->SetPropertyAtIndexAsBoolean(nullptr, idx, enable); } bool CommandInterpreter::GetEchoCommentCommands() const { Loading @@ -159,9 +159,9 @@ bool CommandInterpreter::GetEchoCommentCommands() const { nullptr, idx, g_interpreter_properties[idx].default_uint_value != 0); } void CommandInterpreter::SetEchoCommentCommands(bool b) { void CommandInterpreter::SetEchoCommentCommands(bool enable) { const uint32_t idx = ePropertyEchoCommentCommands; m_collection_sp->SetPropertyAtIndexAsBoolean(nullptr, idx, b); m_collection_sp->SetPropertyAtIndexAsBoolean(nullptr, idx, enable); } void CommandInterpreter::AllowExitCodeOnQuit(bool allow) { Loading Loading
lldb/include/lldb/Interpreter/CommandInterpreter.h +3 −3 Original line number Diff line number Diff line Loading @@ -443,13 +443,13 @@ public: bool GetPromptOnQuit() const; void SetPromptOnQuit(bool b); void SetPromptOnQuit(bool enable); bool GetEchoCommands() const; void SetEchoCommands(bool b); void SetEchoCommands(bool enable); bool GetEchoCommentCommands() const; void SetEchoCommentCommands(bool b); void SetEchoCommentCommands(bool enable); /// Specify if the command interpreter should allow that the user can /// specify a custom exit code when calling 'quit'. Loading
lldb/source/Interpreter/CommandInterpreter.cpp +6 −6 Original line number Diff line number Diff line Loading @@ -137,9 +137,9 @@ bool CommandInterpreter::GetPromptOnQuit() const { nullptr, idx, g_interpreter_properties[idx].default_uint_value != 0); } void CommandInterpreter::SetPromptOnQuit(bool b) { void CommandInterpreter::SetPromptOnQuit(bool enable) { const uint32_t idx = ePropertyPromptOnQuit; m_collection_sp->SetPropertyAtIndexAsBoolean(nullptr, idx, b); m_collection_sp->SetPropertyAtIndexAsBoolean(nullptr, idx, enable); } bool CommandInterpreter::GetEchoCommands() const { Loading @@ -148,9 +148,9 @@ bool CommandInterpreter::GetEchoCommands() const { nullptr, idx, g_interpreter_properties[idx].default_uint_value != 0); } void CommandInterpreter::SetEchoCommands(bool b) { void CommandInterpreter::SetEchoCommands(bool enable) { const uint32_t idx = ePropertyEchoCommands; m_collection_sp->SetPropertyAtIndexAsBoolean(nullptr, idx, b); m_collection_sp->SetPropertyAtIndexAsBoolean(nullptr, idx, enable); } bool CommandInterpreter::GetEchoCommentCommands() const { Loading @@ -159,9 +159,9 @@ bool CommandInterpreter::GetEchoCommentCommands() const { nullptr, idx, g_interpreter_properties[idx].default_uint_value != 0); } void CommandInterpreter::SetEchoCommentCommands(bool b) { void CommandInterpreter::SetEchoCommentCommands(bool enable) { const uint32_t idx = ePropertyEchoCommentCommands; m_collection_sp->SetPropertyAtIndexAsBoolean(nullptr, idx, b); m_collection_sp->SetPropertyAtIndexAsBoolean(nullptr, idx, enable); } void CommandInterpreter::AllowExitCodeOnQuit(bool allow) { Loading