[Lldb-commits] [PATCH] D104768: [lldb] Remove CommandReturnObject's SetError(StringRef)

David Spickett via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 23 02:03:21 PDT 2021


DavidSpickett created this revision.
DavidSpickett requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

Replacing existing uses with AppendError.

SetError is also part of the SBI API. Instead of removing
it outright, deprecate it and have it call AppendError.

AppendError is added to the API so users can move to that
instead.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104768

Files:
  lldb/include/lldb/API/SBCommandReturnObject.h
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104768.353890.patch
Type: text/x-patch
Size: 9841 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210623/f82b7973/attachment.bin>


More information about the lldb-commits mailing list