[all-commits] [llvm/llvm-project] ab0fa6: [lldb] Fix else-after-return in Breakpoint (NFC)

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Jul 2 12:07:43 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab0fa6c5dc725ef6f839ac8cea9b3a41aa3a5b75
      https://github.com/llvm/llvm-project/commit/ab0fa6c5dc725ef6f839ac8cea9b3a41aa3a5b75
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M lldb/include/lldb/Breakpoint/BreakpointResolver.h
    M lldb/source/Breakpoint/Breakpoint.cpp
    M lldb/source/Breakpoint/BreakpointIDList.cpp
    M lldb/source/Breakpoint/BreakpointLocation.cpp
    M lldb/source/Breakpoint/BreakpointLocationList.cpp
    M lldb/source/Breakpoint/BreakpointOptions.cpp
    M lldb/source/Breakpoint/BreakpointResolverName.cpp
    M lldb/source/Breakpoint/Watchpoint.cpp
    M lldb/source/Breakpoint/WatchpointOptions.cpp

  Log Message:
  -----------
  [lldb] Fix else-after-return in Breakpoint (NFC)

The LLVM Coding Standards [1] discourages the use of 'else' or 'else if'
after something that interrupts control flow. Bulk fix all instances as
I'm working on this part of LLDB.

[1] https://llvm.org/docs/CodingStandards.html#don-t-use-else-after-a-return



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list