Skip to content

Commit 6f137aa

Browse files
authored
Merge pull request #139 from Teemperor/RevertNFCChangesCommandInterpreterNext
[upstreaming] Revert NFC changes to CommandInterpreter
2 parents 86904c2 + 566420a commit 6f137aa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lldb/source/Interpreter/CommandInterpreter.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ bool CommandInterpreter::GetPromptOnQuit() const {
137137
nullptr, idx, g_interpreter_properties[idx].default_uint_value != 0);
138138
}
139139

140-
void CommandInterpreter::SetPromptOnQuit(bool enable) {
140+
void CommandInterpreter::SetPromptOnQuit(bool b) {
141141
const uint32_t idx = ePropertyPromptOnQuit;
142-
m_collection_sp->SetPropertyAtIndexAsBoolean(nullptr, idx, enable);
142+
m_collection_sp->SetPropertyAtIndexAsBoolean(nullptr, idx, b);
143143
}
144144

145145
bool CommandInterpreter::GetEchoCommands() const {
@@ -356,7 +356,6 @@ void CommandInterpreter::Initialize() {
356356
AddAlias("p", cmd_obj_sp, "--")->SetHelpLong("");
357357
AddAlias("print", cmd_obj_sp, "--")->SetHelpLong("");
358358
AddAlias("call", cmd_obj_sp, "--")->SetHelpLong("");
359-
360359
if (auto po = AddAlias("po", cmd_obj_sp, "-O --")) {
361360
po->SetHelp("Evaluate an expression on the current thread. Displays any "
362361
"returned value with formatting "

0 commit comments

Comments
 (0)