[clang] [clang-format] Add KeepEmptyLines.AtEndOfBlock option (PR #224223)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 28 12:58:57 PDT 2026
================
@@ -170,6 +170,7 @@ TEST_F(FormatTest, RemovesEmptyLines) {
CustomStyle.BreakBeforeBraces = FormatStyle::BS_Custom;
CustomStyle.BraceWrapping.AfterNamespace = true;
CustomStyle.KeepEmptyLines.AtStartOfBlock = false;
+ CustomStyle.KeepEmptyLines.AtEndOfBlock = false;
----------------
HazardyKnusperkeks wrote:
Why do you need to set it here to false?
https://github.com/llvm/llvm-project/pull/224223
More information about the cfe-commits
mailing list