[all-commits] [llvm/llvm-project] 09e32a: [lldb] Deprecate SBBreakpoint::AddName in favor of...

Alex Langford via All-commits all-commits at lists.llvm.org
Mon Jan 8 13:30:37 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 09e32ab75076a1f2270d37343922c86c12bdd047
      https://github.com/llvm/llvm-project/commit/09e32ab75076a1f2270d37343922c86c12bdd047
  Author: Alex Langford <alangford at apple.com>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M lldb/include/lldb/API/SBBreakpoint.h

  Log Message:
  -----------
  [lldb] Deprecate SBBreakpoint::AddName in favor of AddNameWithErrorHandling (#71228)

AddName gives no feedback other than if it succeeded whereas
AddNameWithErrorHandling gives you back an SBError object. I would like
to mark AddName as deprecated and direct folks to use
AddNameWithErorrHandling instead.

---------

Co-authored-by: Med Ismail Bennani <ismail at bennani.ma>




More information about the All-commits mailing list