[all-commits] [llvm/llvm-project] b6f291: [clang-format][NFC] AlignTokenSequence: Skip loop ...

Björn Schäpers via All-commits all-commits at lists.llvm.org
Wed Oct 4 13:20:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b6f29191adb26ee870e624c414683cb3e6e03a87
      https://github.com/llvm/llvm-project/commit/b6f29191adb26ee870e624c414683cb3e6e03a87
  Author: Björn Schäpers <bjoern at hazardy.de>
  Date:   2023-10-04 (Wed, 04 Oct 2023)

  Changed paths:
    M clang/lib/Format/WhitespaceManager.cpp

  Log Message:
  -----------
  [clang-format][NFC] AlignTokenSequence: Skip loop iteration

When Shift is 0 there does nothing happen in the remainder of the loop,
express that directly.




More information about the All-commits mailing list