Browse Source

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.
6.0.7
Jeff Young 5 years ago
parent
commit
ffdc46d313
  1. 3
      _clang-format

3
_clang-format

@ -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

Loading…
Cancel
Save