Change clang-format to keep "} else" brace on same line

This commit is contained in:
Lassi Kortela 2019-08-09 13:59:18 +03:00
parent 0270f8628d
commit 0fdee2f7b8
1 changed files with 1 additions and 4 deletions

View File

@ -8,11 +8,8 @@ AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
BraceWrapping:
AfterFunction: true
BeforeElse: true
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Custom
BreakBeforeBraces: Linux
ContinuationIndentWidth: 0
DerivePointerAlignment: true
MaxEmptyLinesToKeep: 2