From 32c7f0a8fdc052139463837db335d24c3d278000 Mon Sep 17 00:00:00 2001 From: Kenneth Moreland Date: Wed, 31 May 2017 09:35:26 -0600 Subject: [PATCH] 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. --- .clang-format | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-format b/.clang-format index 335c7d846..3a7e87a91 100644 --- a/.clang-format +++ b/.clang-format @@ -9,6 +9,7 @@ BreakBeforeBraces: Allman BinPackArguments: false BinPackParameters: false ColumnLimit: 100 +MaxEmptyLinesToKeep: 4 Standard: Cpp11 # This requires clang-format 4.0 (at least). #FixNamespaceComments: true