Previously, if you had more than 1 empty line somewhere, clang-format would eat that empty line. But it is a bit of a pain sometimes to get the autogenerated code to have the exact empty lines, and there are valid reasons to allow more than one empty line somewhere, so relax this condition a bit.
18 lines
440 B
YAML
18 lines
440 B
YAML
---
|
|
# This configuration requires clang-format 3.8 or higher.
|
|
BasedOnStyle: Mozilla
|
|
AlignAfterOpenBracket: Align
|
|
AlignOperands: false
|
|
AlwaysBreakAfterReturnType: None
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
BreakBeforeBraces: Allman
|
|
BinPackArguments: false
|
|
BinPackParameters: false
|
|
ColumnLimit: 100
|
|
MaxEmptyLinesToKeep: 4
|
|
Standard: Cpp11
|
|
# This requires clang-format 4.0 (at least).
|
|
#FixNamespaceComments: true
|
|
ReflowComments: false
|
|
...
|