[clang] [clang-format] Add options to set number of empty lines after includes (PR #78957)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 22 12:30:47 PST 2024
================
@@ -4831,6 +4848,7 @@ struct FormatStyle {
DerivePointerAlignment == R.DerivePointerAlignment &&
DisableFormat == R.DisableFormat &&
EmptyLineAfterAccessModifier == R.EmptyLineAfterAccessModifier &&
+ EmptyLinesAfterIncludes == R.EmptyLinesAfterIncludes &&
EmptyLineBeforeAccessModifier == R.EmptyLineBeforeAccessModifier &&
----------------
HazardyKnusperkeks wrote:
```suggestion
EmptyLineBeforeAccessModifier == R.EmptyLineBeforeAccessModifier &&
EmptyLinesAfterIncludes == R.EmptyLinesAfterIncludes &&
```
https://github.com/llvm/llvm-project/pull/78957
More information about the cfe-commits
mailing list