Since https://reviews.llvm.org/D103701 AppendError<...>
sets this for you.
This change includes all of the non-command uses.
Some uses remain where it's either tricky to reason about
the logic, or they aren't paired with AppendError calls.
Paths
| Differential D104379
[lldb] Remove redundant calls to set eReturnStatusFailed ClosedPublic Authored by DavidSpickett on Jun 16 2021, 6:35 AM.
Details Summary Since https://reviews.llvm.org/D103701 AppendError<...> This change includes all of the non-command uses. Some uses remain where it's either tricky to reason about
Diff Detail
Event TimelineDavidSpickett created this revision. Comment Actions There'll be a part 2 once this has passed the bots, which will cover all the CommandObject* files. DavidSpickett added a parent revision: D104380: [lldb] Set return object failed status even if error string is empty.Jun 16 2021, 6:44 AM DavidSpickett added inline comments.
This revision is now accepted and ready to land.Jun 16 2021, 8:30 AM Closed by commit rG7a580f3c28cf: [lldb] Remove redundant calls to set eReturnStatusFailed (authored by DavidSpickett). · Explain WhyJun 17 2021, 4:22 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 352676 lldb/source/API/SBCommandInterpreter.cpp
lldb/source/Breakpoint/BreakpointIDList.cpp
lldb/source/Interpreter/CommandAlias.cpp
lldb/source/Interpreter/CommandInterpreter.cpp
lldb/source/Interpreter/Options.cpp
lldb/source/Interpreter/ScriptInterpreter.cpp
lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
|
https://reviews.llvm.org/D104380 should address calls like this one. Where we append something that could be empty.