A couple more CLang-Format fixes.

These are probably default values for the base style, but this makes
it more explicit what our coding style is.
This commit is contained in:
Jeff Young 2020-12-15 13:08:20 +00:00
parent 00255f2a9c
commit ffdc46d313
1 changed files with 3 additions and 0 deletions

View File

@ -5,11 +5,13 @@ AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: true
AlignOperands: Align
AlignTrailingComments: true
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: InlineOnly
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: None
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
@ -19,6 +21,7 @@ BinPackParameters: true
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: AfterColon
BreakConstructorInitializersBeforeComma: false
BreakStringLiterals: true
ColumnLimit: 100