[clang] [clang-format] Add KeepEmptyLines.AtEndOfBlock option (PR #224223)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 30 03:11:16 PDT 2026
================
@@ -169,7 +169,6 @@ TEST_F(FormatTest, RemovesEmptyLines) {
auto CustomStyle = getLLVMStyle();
CustomStyle.BreakBeforeBraces = FormatStyle::BS_Custom;
CustomStyle.BraceWrapping.AfterNamespace = true;
- CustomStyle.KeepEmptyLines.AtStartOfBlock = false;
----------------
HazardyKnusperkeks wrote:
I'd be better to keep this unchanged. You can provide a separate PR to clean this up.
https://github.com/llvm/llvm-project/pull/224223
More information about the cfe-commits
mailing list