1 # The following tries to match the current code style, is imperfect for now
2 # but good for new codes be added
7 SpaceBeforeParens: Always
8 AllowShortLoopsOnASingleLine: true
9 BreakBeforeBraces: Custom
13 SplitEmptyFunction: false
15 AfterControlStatement: true
22 AlwaysBreakTemplateDeclarations: true
23 AlignTrailingComments: true
24 AlignEscapedNewlines: Left
25 AllowShortBlocksOnASingleLine: true
26 SpaceAfterCStyleCast: true
27 AlwaysBreakAfterDefinitionReturnType: TopLevel
28 BinPackParameters: false
29 AllowShortFunctionsOnASingleLine: Inline
30 AccessModifierOffset: 0
31 AlignTrailingComments: true
32 AllowShortIfStatementsOnASingleLine: true
33 AlignAfterOpenBracket: Align
35 AllowShortCaseLabelsOnASingleLine: true
37 # We like to have this only for function parameters and structs fields, not always
38 # AlignConsecutiveDeclarations: true