From: Eric Christopher Date: Tue, 26 May 2020 18:58:31 +0000 (-0700) Subject: Be more specific about auto * vs auto for po alias. X-Git-Tag: llvmorg-12-init~5099 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=713538b629e45e6236b5d60fd6b64d7b8669cd00;p=platform%2Fupstream%2Fllvm.git Be more specific about auto * vs auto for po alias. --- diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index 1cd71b07e..61288fc 100644 --- a/lldb/source/Interpreter/CommandInterpreter.cpp +++ b/lldb/source/Interpreter/CommandInterpreter.cpp @@ -356,7 +356,7 @@ void CommandInterpreter::Initialize() { AddAlias("p", cmd_obj_sp, "--")->SetHelpLong(""); AddAlias("print", cmd_obj_sp, "--")->SetHelpLong(""); AddAlias("call", cmd_obj_sp, "--")->SetHelpLong(""); - if (auto po = AddAlias("po", cmd_obj_sp, "-O --")) { + if (auto *po = AddAlias("po", cmd_obj_sp, "-O --")) { po->SetHelp("Evaluate an expression on the current thread. Displays any " "returned value with formatting " "controlled by the type's author.");