aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Interpreter/CommandInterpreter.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2020-05-26 11:58:31 -0700
committerEric Christopher <echristo@gmail.com>2020-05-26 11:59:09 -0700
commit713538b629e45e6236b5d60fd6b64d7b8669cd00 (patch)
treea56b845b51e5487cc3270aa78cd43596d6754748 /lldb/source/Interpreter/CommandInterpreter.cpp
parent1a2bffaf8b4567663f3001bd9c7532322e89f990 (diff)
downloadllvm-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.cpp2
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.");