[all-commits] [llvm/llvm-project] 539b68: [clang-format] Do not set AtStartOfBlock if not ch...

Arkadiusz Bokowy via All-commits all-commits at lists.llvm.org
Wed Sep 30 13:15:04 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 539b68e1888bba1db4545310b7b7286050c955b4
      https://github.com/llvm/llvm-project/commit/539b68e1888bba1db4545310b7b7286050c955b4
  Author: Arkadiusz Bokowy <arkadiusz.bokowy at gmail.com>
  Date:   2026-09-30 (Wed, 30 Sep 2026)

  Changed paths:
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Do not set AtStartOfBlock if not check by test case (#227680)

Setting `KeepEmptyLines.AtStartOfBlock` to `false` in the
`RemovesEmptyLines` test case is misleading, because the check that
follows does not verify this option. It does not matter whether it is
set to `true` or `false`.



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