[Lldb-commits] [PATCH] D61579: Propagate command interpreter errors from lldlbinit
Jim Ingham via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue May 7 15:41:43 PDT 2019
jingham added inline comments.
================
Comment at: lldb/source/Interpreter/CommandInterpreter.cpp:2472
+ flags |= eHandleCommandFlagPrintErrors;
+ } else if (m_command_source_flags.back() & eHandleCommandFlagPrintErrors) {
+ flags |= eHandleCommandFlagPrintErrors;
----------------
JDevlieghere wrote:
> 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 :-)
I agree with Jonas, the original is easier to read.
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