diff options
author | David Spickett <david.spickett@linaro.org> | 2021-06-16 13:56:51 +0100 |
---|---|---|
committer | David Spickett <david.spickett@linaro.org> | 2021-06-17 12:21:54 +0100 |
commit | 7a580f3c28cf47a7e489faa1fc1ab7b88d9a5dbd (patch) | |
tree | d6e721672678b12262a43c60570949b2c15786b0 /lldb/source/Interpreter/ScriptInterpreter.cpp | |
parent | 983ed1b58ef9d0f97c9cec2876f631e47609d437 (diff) | |
download | llvm-7a580f3c28cf47a7e489faa1fc1ab7b88d9a5dbd.zip llvm-7a580f3c28cf47a7e489faa1fc1ab7b88d9a5dbd.tar.gz llvm-7a580f3c28cf47a7e489faa1fc1ab7b88d9a5dbd.tar.bz2 |
[lldb] Remove redundant calls to set eReturnStatusFailed
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.
Reviewed By: teemperor
Differential Revision: https://reviews.llvm.org/D104379
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreter.cpp')
-rw-r--r-- | lldb/source/Interpreter/ScriptInterpreter.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/source/Interpreter/ScriptInterpreter.cpp b/lldb/source/Interpreter/ScriptInterpreter.cpp index 7fb07fb..3802f2d 100644 --- a/lldb/source/Interpreter/ScriptInterpreter.cpp +++ b/lldb/source/Interpreter/ScriptInterpreter.cpp @@ -36,14 +36,12 @@ ScriptInterpreter::ScriptInterpreter( void ScriptInterpreter::CollectDataForBreakpointCommandCallback( std::vector<std::reference_wrapper<BreakpointOptions>> &bp_options_vec, CommandReturnObject &result) { - result.SetStatus(eReturnStatusFailed); result.AppendError( "This script interpreter does not support breakpoint callbacks."); } void ScriptInterpreter::CollectDataForWatchpointCommandCallback( WatchpointOptions *bp_options, CommandReturnObject &result) { - result.SetStatus(eReturnStatusFailed); result.AppendError( "This script interpreter does not support watchpoint callbacks."); } |