diff options
author | Eric Christopher <echristo@gmail.com> | 2020-05-26 11:58:31 -0700 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2020-05-26 11:59:09 -0700 |
commit | 713538b629e45e6236b5d60fd6b64d7b8669cd00 (patch) | |
tree | a56b845b51e5487cc3270aa78cd43596d6754748 /lldb/source/Interpreter/CommandInterpreter.cpp | |
parent | 1a2bffaf8b4567663f3001bd9c7532322e89f990 (diff) | |
download | llvm-713538b629e45e6236b5d60fd6b64d7b8669cd00.zip llvm-713538b629e45e6236b5d60fd6b64d7b8669cd00.tar.gz llvm-713538b629e45e6236b5d60fd6b64d7b8669cd00.tar.bz2 |
Be more specific about auto * vs auto for po alias.
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-rw-r--r-- | lldb/source/Interpreter/CommandInterpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index 1cd71b0..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."); |