1 # for clang-format ≥ 10
2 AccessModifierOffset: -4
3 AlignAfterOpenBracket: Align
4 AlignConsecutiveMacros: true
5 AlignConsecutiveAssignments: false
6 AlignConsecutiveDeclarations: false
7 AlignEscapedNewlines: Right
9 AlignTrailingComments: true
10 AllowAllArgumentsOnNextLine: false
11 AllowAllConstructorInitializersOnNextLine: false
12 AllowAllParametersOfDeclarationOnNextLine: false
13 AllowShortBlocksOnASingleLine: false
14 AllowShortCaseLabelsOnASingleLine: false
15 AllowShortFunctionsOnASingleLine: None
16 AllowShortIfStatementsOnASingleLine: Never
17 AllowShortLambdasOnASingleLine: None
18 AllowShortLoopsOnASingleLine: false
19 AlwaysBreakAfterReturnType: None
20 AlwaysBreakBeforeMultilineStrings: false
21 AlwaysBreakTemplateDeclarations: Yes
22 BinPackArguments: true
23 BinPackParameters: true
24 BreakBeforeBinaryOperators: None
25 BreakBeforeBraces: Custom
29 AfterControlStatement: Never
35 AfterExternBlock: false
38 BeforeLambdaBody: false
40 SplitEmptyFunction: true
41 SplitEmptyRecord: true
42 SplitEmptyNamespace: true
43 BreakBeforeTernaryOperators: false
44 BreakConstructorInitializers: AfterColon
45 BreakInheritanceList: AfterColon
46 BreakStringLiterals: false
48 CompactNamespaces: false
49 ConstructorInitializerAllOnOneLineOrOnePerLine: false
50 ConstructorInitializerIndentWidth: 4
51 ContinuationIndentWidth: 4
52 Cpp11BracedListStyle: true
53 DerivePointerAlignment: false
55 ExperimentalAutoDetectBinPacking: false
56 FixNamespaceComments: true
57 IncludeBlocks: Preserve
58 IndentCaseLabels: false
59 IndentPPDirectives: AfterHash
61 IndentWrappedFunctionNames: false
62 KeepEmptyLinesAtTheStartOfBlocks: false
64 MaxEmptyLinesToKeep: 1
65 NamespaceIndentation: None
66 PointerAlignment: Left
69 SortUsingDeclarations: false
70 SpaceAfterCStyleCast: true
71 SpaceAfterLogicalNot: false
72 SpaceAfterTemplateKeyword: true
73 SpaceBeforeAssignmentOperators: true
74 SpaceBeforeCpp11BracedList: true
75 SpaceBeforeCtorInitializerColon: true
76 SpaceBeforeInheritanceColon: true
77 SpaceBeforeParens: ControlStatements
78 SpaceBeforeRangeBasedForLoopColon: true
79 SpaceInEmptyParentheses: false
80 SpacesBeforeTrailingComments: 1
82 SpacesInCStyleCastParentheses: false
83 SpacesInContainerLiterals: false
84 SpacesInParentheses: false
85 SpacesInSquareBrackets: false