Author: Eric Christopher Date: 2020-05-26T11:59:09-07:00 New Revision: 713538b629e45e6236b5d60fd6b64d7b8669cd00
URL: https://github.com/llvm/llvm-project/commit/713538b629e45e6236b5d60fd6b64d7b8669cd00 DIFF: https://github.com/llvm/llvm-project/commit/713538b629e45e6236b5d60fd6b64d7b8669cd00.diff LOG: Be more specific about auto * vs auto for po alias. Added: Modified: lldb/source/Interpreter/CommandInterpreter.cpp Removed: ################################################################################ diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index 1cd71b07eaeb..61288fc42131 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."); _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits