[lldb] Remove CommandReturnObject's SetError(StringRef)
authorDavid Spickett <david.spickett@linaro.org>
Tue, 22 Jun 2021 16:12:56 +0000 (16:12 +0000)
committerDavid Spickett <david.spickett@linaro.org>
Wed, 23 Jun 2021 11:25:10 +0000 (11:25 +0000)
commit1b1c8e4a984c07a3c985408d3d80c8e24e60d3d1
tree74bb9f4682e8d21639dc41b99dd781788c0e82b7
parent3c4dbf6ea9a06d0e5b460895bc5677ca7e382b4e
[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
lldb/include/lldb/Interpreter/CommandReturnObject.h
lldb/source/API/SBCommandReturnObject.cpp
lldb/source/Commands/CommandObjectBreakpoint.cpp
lldb/source/Commands/CommandObjectMultiword.cpp
lldb/source/Commands/CommandObjectProcess.cpp
lldb/source/Commands/CommandObjectReproducer.cpp
lldb/source/Commands/CommandObjectThread.cpp
lldb/source/Commands/CommandObjectTrace.cpp
lldb/source/Commands/CommandObjectType.cpp
lldb/source/Interpreter/CommandObject.cpp
lldb/source/Interpreter/CommandReturnObject.cpp