[all-commits] [llvm/llvm-project] 8199f1: [lldb] Use if-with-initializer pattern in SBTarget...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed May 28 15:11:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8199f181cd42e45cbcca095c5c700930215d2c86
      https://github.com/llvm/llvm-project/commit/8199f181cd42e45cbcca095c5c700930215d2c86
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2025-05-28 (Wed, 28 May 2025)

  Changed paths:
    M lldb/source/API/SBTarget.cpp

  Log Message:
  -----------
  [lldb] Use if-with-initializer pattern in SBTarget (NFC) (#141284)

Use the if statement with an initializer pattern that's very common in
LLVM in SBTarget. Every time someone adds a new method to SBTarget, I
want to encourage using this pattern, but I don't because it would be
inconsistent with the rest of the file. This solves that problem by
switching over the whole file.



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