[Lldb-commits] [PATCH] D61579: Propagate command interpreter errors from lldlbinit
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue May 7 15:27:51 PDT 2019
JDevlieghere marked an inline comment as done.
JDevlieghere added inline comments.
================
Comment at: lldb/source/Interpreter/CommandInterpreter.cpp:2472
+ flags |= eHandleCommandFlagPrintErrors;
+ } else if (m_command_source_flags.back() & eHandleCommandFlagPrintErrors) {
+ flags |= eHandleCommandFlagPrintErrors;
----------------
aprantl wrote:
> Is `m_command_source_flags.empty() || Flags(m_command_source_flags.back()).Test(eHandleCommandFlagPrintErrors)` better? Not sure.
Personally I think this is easier to read, and consistent with what we do elsewhere. Happy to be convinced otherwise though :-)
Repository:
rLLDB LLDB
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61579/new/
https://reviews.llvm.org/D61579
More information about the lldb-commits
mailing list