2 # This configuration requires clang-format version v12.0 or newer.
5 AlignConsecutiveDeclarations: None
6 AlignEscapedNewlines: Left
8 AllowAllParametersOfDeclarationOnNextLine: false
9 AllowShortBlocksOnASingleLine: true
10 AllowShortFunctionsOnASingleLine: InlineOnly
11 AlwaysBreakAfterDefinitionReturnType: None
12 AlwaysBreakAfterReturnType: None
13 # AlwaysBreakAfterDefinitionReturnType: TopLevel
14 # AlwaysBreakAfterReturnType: TopLevelDefinitions
15 BinPackArguments: false
16 BinPackParameters: false
17 # parameters will either all be on the same line or will have one line each.
18 BreakBeforeBraces: Custom
22 AfterControlStatement: Always
26 AfterObjCDeclaration: true
29 AfterExternBlock: true
32 BeforeLambdaBody: false
35 SplitEmptyFunction: false
36 SplitEmptyRecord: true
37 SplitEmptyNamespace: true
38 # based on BreakBeforeBraces: GNU
39 ColumnLimit: 123 # MAYBE up to 160
41 # XXX v13.0 only IndentAccessModifiers: true
43 IndentPPDirectives: AfterHash
44 SortUsingDeclarations: false
45 SpaceAfterTemplateKeyword: true
46 SpaceAfterLogicalNot: false
47 SpaceBeforeParens: Always
48 SpaceInEmptyBlock: false