Change clang-format to keep "} else" brace on same line
This commit is contained in:
parent
0270f8628d
commit
0fdee2f7b8
|
@ -8,11 +8,8 @@ AllowShortBlocksOnASingleLine: true
|
||||||
AllowShortCaseLabelsOnASingleLine: true
|
AllowShortCaseLabelsOnASingleLine: true
|
||||||
AllowShortIfStatementsOnASingleLine: true
|
AllowShortIfStatementsOnASingleLine: true
|
||||||
AllowShortLoopsOnASingleLine: true
|
AllowShortLoopsOnASingleLine: true
|
||||||
BraceWrapping:
|
|
||||||
AfterFunction: true
|
|
||||||
BeforeElse: true
|
|
||||||
BreakBeforeBinaryOperators: None
|
BreakBeforeBinaryOperators: None
|
||||||
BreakBeforeBraces: Custom
|
BreakBeforeBraces: Linux
|
||||||
ContinuationIndentWidth: 0
|
ContinuationIndentWidth: 0
|
||||||
DerivePointerAlignment: true
|
DerivePointerAlignment: true
|
||||||
MaxEmptyLinesToKeep: 2
|
MaxEmptyLinesToKeep: 2
|
||||||
|
|
Loading…
Reference in New Issue