aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectMultiword.cpp
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2021-06-22 16:12:56 +0000
committerDavid Spickett <david.spickett@linaro.org>2021-06-23 11:25:10 +0000
commit1b1c8e4a984c07a3c985408d3d80c8e24e60d3d1 (patch)
tree74bb9f4682e8d21639dc41b99dd781788c0e82b7 /lldb/source/Commands/CommandObjectMultiword.cpp
parent3c4dbf6ea9a06d0e5b460895bc5677ca7e382b4e (diff)
downloadllvm-1b1c8e4a984c07a3c985408d3d80c8e24e60d3d1.zip
llvm-1b1c8e4a984c07a3c985408d3d80c8e24e60d3d1.tar.gz
llvm-1b1c8e4a984c07a3c985408d3d80c8e24e60d3d1.tar.bz2
[lldb] Remove CommandReturnObject's SetError(StringRef)
Replacing existing uses with AppendError. SetError is also part of the SBI API. This remains but instead of calling the underlying SetError it will call AppendError. Reviewed By: teemperor Differential Revision: https://reviews.llvm.org/D104768
Diffstat (limited to 'lldb/source/Commands/CommandObjectMultiword.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectMultiword.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectMultiword.cpp b/lldb/source/Commands/CommandObjectMultiword.cpp
index 9aca787..3eafd00 100644
--- a/lldb/source/Commands/CommandObjectMultiword.cpp
+++ b/lldb/source/Commands/CommandObjectMultiword.cpp
@@ -396,6 +396,6 @@ bool CommandObjectProxy::Execute(const char *args_string,
CommandObject *proxy_command = GetProxyCommandObject();
if (proxy_command)
return proxy_command->Execute(args_string, result);
- result.SetError(GetUnsupportedError());
+ result.AppendError(GetUnsupportedError());
return false;
}