Commit 32c7f0a8 authored by Kenneth Moreland's avatar Kenneth Moreland

Allow clang-format to pass more empty lines

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.
parent 74f40e20
...@@ -9,6 +9,7 @@ BreakBeforeBraces: Allman ...@@ -9,6 +9,7 @@ BreakBeforeBraces: Allman
BinPackArguments: false BinPackArguments: false
BinPackParameters: false BinPackParameters: false
ColumnLimit: 100 ColumnLimit: 100
MaxEmptyLinesToKeep: 4
Standard: Cpp11 Standard: Cpp11
# This requires clang-format 4.0 (at least). # This requires clang-format 4.0 (at least).
#FixNamespaceComments: true #FixNamespaceComments: true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment