1
1
---
2
2
BasedOnStyle : Google
3
3
AccessModifierOffset : -2
4
- ConstructorInitializerIndentWidth : 2
5
- AlignAfterOpenBracket : Align
6
- AlignConsecutiveAssignments : Consecutive
7
- AlignConsecutiveDeclarations : Consecutive
8
- AlignConsecutiveMacros : AcrossEmptyLines
9
- AlignEscapedNewlines : Left # Revisit when clang-format is updated
10
- AlignTrailingComments : true
4
+ AlignConsecutiveAssignments :
5
+ Enabled : true
6
+ AlignCompound : true
7
+ AlignConsecutiveDeclarations :
8
+ Enabled : true
9
+ PadOperators : true
10
+ AlignConsecutiveMacros :
11
+ Enabled : true
12
+ AcrossEmptyLines : true
13
+ PadOperators : true
14
+ AlignTrailingComments :
15
+ OverEmptyLines : 1
11
16
AllowAllParametersOfDeclarationOnNextLine : false
17
+ AllowShortFunctionsOnASingleLine : None
12
18
AllowShortIfStatementsOnASingleLine : false
13
19
AllowShortLoopsOnASingleLine : false
14
- AllowShortFunctionsOnASingleLine : None
15
- AlwaysBreakTemplateDeclarations : true
16
- AlwaysBreakBeforeMultilineStrings : true
20
+ BinPackArguments : false
21
+ BinPackParameters : false
22
+ BraceWrapping :
23
+ AfterCaseLabel : false
24
+ AfterClass : " true"
25
+ AfterControlStatement : " true"
26
+ AfterEnum : " true"
27
+ AfterFunction : " true"
28
+ AfterNamespace : " true"
29
+ AfterObjCDeclaration : false
30
+ AfterStruct : " true"
31
+ AfterUnion : " true"
32
+ AfterExternBlock : false
33
+ BeforeCatch : " true"
34
+ BeforeElse : " true"
35
+ BeforeLambdaBody : false
36
+ BeforeWhile : false
37
+ IndentBraces : " false"
38
+ SplitEmptyFunction : true
39
+ SplitEmptyRecord : true
40
+ SplitEmptyNamespace : true
41
+ BreakAfterReturnType : Automatic
17
42
BreakBeforeBinaryOperators : false
43
+ BreakBeforeBraces : Custom
18
44
BreakBeforeTernaryOperators : false
19
- BreakConstructorInitializersBeforeComma : true
20
- BinPackArguments : false # Revisit when clang-format is updated
21
- BinPackParameters : false # Revisit when clang-format is updated
45
+ BreakConstructorInitializers : BeforeComma
46
+ BreakTemplateDeclarations : MultiLine
22
47
ColumnLimit : 120
23
- ConstructorInitializerAllOnOneLineOrOnePerLine : true
24
- DerivePointerBinding : false
25
- PointerBindsToType : true
26
- ExperimentalAutoDetectBinPacking : false
27
- IndentCaseLabels : true
28
- MaxEmptyLinesToKeep : 1
29
- NamespaceIndentation : None
30
- ObjCSpaceBeforeProtocolList : true
48
+ ConstructorInitializerIndentWidth : 2
49
+ Cpp11BracedListStyle : false
50
+ PackConstructorInitializers : NextLine
31
51
PenaltyBreakBeforeFirstCallParameter : 19
32
52
PenaltyBreakComment : 60
33
- PenaltyBreakString : 1
34
53
PenaltyBreakFirstLessLess : 1000
54
+ PenaltyBreakString : 1
35
55
PenaltyExcessCharacter : 1000
36
56
PenaltyReturnTypeOnItsOwnLine : 90
37
- SpacesBeforeTrailingComments : 2
38
- Cpp11BracedListStyle : false
39
- Standard : Auto
40
- IndentWidth : 2
41
- TabWidth : 2
42
- UseTab : Never
43
- IndentFunctionDeclarationAfterType : false
44
- SpacesInParentheses : false
45
- SpacesInAngles : false
46
- SpaceInEmptyParentheses : false
47
- SpacesInCStyleCastParentheses : false
48
- SpaceAfterControlStatementKeyword : true
49
- SpaceBeforeAssignmentOperators : true
50
- ContinuationIndentWidth : 4
51
57
SortIncludes : false
52
- SpaceAfterCStyleCast : false
53
-
54
- # Configure each individual brace in BraceWrapping
55
- BreakBeforeBraces : Custom
56
-
57
- # Control of individual brace wrapping cases
58
- BraceWrapping :
59
- AfterClass : ' true'
60
- AfterControlStatement : ' true'
61
- AfterEnum : ' true'
62
- AfterFunction : ' true'
63
- AfterNamespace : ' true'
64
- AfterStruct : ' true'
65
- AfterUnion : ' true'
66
- BeforeCatch : ' true'
67
- BeforeElse : ' true'
68
- IndentBraces : ' false'
58
+ SpacesInAngles : false
59
+ TabWidth : 2
0 commit comments