Skip to content

Commit 5c327a3

Browse files
authored
Merge pull request #138 from Teemperor/RevertNFCChangesCommandInterpreter
[upstreaming] Revert NFC changes to CommandInterpreter
2 parents 7fc2c83 + 351ae09 commit 5c327a3

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
@@ -135,9 +135,9 @@ bool CommandInterpreter::GetPromptOnQuit() const {
135135
nullptr, idx, g_interpreter_properties[idx].default_uint_value != 0);
136136
}
137137

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

143143
bool CommandInterpreter::GetEchoCommands() const {
@@ -354,7 +354,6 @@ void CommandInterpreter::Initialize() {
354354
AddAlias("p", cmd_obj_sp, "--")->SetHelpLong("");
355355
AddAlias("print", cmd_obj_sp, "--")->SetHelpLong("");
356356
AddAlias("call", cmd_obj_sp, "--")->SetHelpLong("");
357-
358357
if (auto po = AddAlias("po", cmd_obj_sp, "-O --")) {
359358
po->SetHelp("Evaluate an expression on the current thread. Displays any "
360359
"returned value with formatting "

0 commit comments

Comments
 (0)