@@ -8,22 +8,23 @@ AlignConsecutiveMacros: None
8
8
AlignConsecutiveAssignments : None
9
9
AlignConsecutiveBitFields : None
10
10
AlignConsecutiveDeclarations : None
11
- AlignEscapedNewlines: Left
11
+ AlignEscapedNewlines : Right
12
12
AlignOperands : Align
13
13
AlignTrailingComments : true
14
14
AllowAllArgumentsOnNextLine : true
15
+ AllowAllConstructorInitializersOnNextLine : true
15
16
AllowAllParametersOfDeclarationOnNextLine : true
16
17
AllowShortEnumsOnASingleLine : true
17
18
AllowShortBlocksOnASingleLine : Never
18
19
AllowShortCaseLabelsOnASingleLine : false
19
20
AllowShortFunctionsOnASingleLine : All
20
21
AllowShortLambdasOnASingleLine : All
21
- AllowShortIfStatementsOnASingleLine: WithoutElse
22
- AllowShortLoopsOnASingleLine: true
22
+ AllowShortIfStatementsOnASingleLine : false
23
+ AllowShortLoopsOnASingleLine : false
23
24
AlwaysBreakAfterDefinitionReturnType : None
24
25
AlwaysBreakAfterReturnType : None
25
- AlwaysBreakBeforeMultilineStrings: true
26
- AlwaysBreakTemplateDeclarations: Yes
26
+ AlwaysBreakBeforeMultilineStrings : false
27
+ AlwaysBreakTemplateDeclarations : MultiLine
27
28
AttributeMacros :
28
29
- __capability
29
30
BinPackArguments : true
@@ -61,6 +62,7 @@ ColumnLimit: 80
61
62
CommentPragmas : ' ^ IWYU pragma:'
62
63
QualifierAlignment : Leave
63
64
CompactNamespaces : false
65
+ ConstructorInitializerAllOnOneLineOrOnePerLine : false
64
66
ConstructorInitializerIndentWidth : 4
65
67
ContinuationIndentWidth : 4
66
68
Cpp11BracedListStyle : true
@@ -70,44 +72,41 @@ DisableFormat: false
70
72
EmptyLineAfterAccessModifier : Never
71
73
EmptyLineBeforeAccessModifier : LogicalBlock
72
74
ExperimentalAutoDetectBinPacking : false
73
- PackConstructorInitializers: NextLine
74
- BasedOnStyle: ''
75
- ConstructorInitializerAllOnOneLineOrOnePerLine: false
76
- AllowAllConstructorInitializersOnNextLine: true
77
75
FixNamespaceComments : true
78
76
ForEachMacros :
79
77
- foreach
80
78
- Q_FOREACH
81
79
- BOOST_FOREACH
82
80
IfMacros :
83
81
- KJ_IF_MAYBE
84
- IncludeBlocks: Regroup
82
+ IncludeBlocks : Preserve # Regroup
85
83
IncludeCategories :
86
84
- Regex : ' ^<ext/.*\.h>'
87
85
Priority : 2
88
86
SortPriority : 0
89
- CaseSensitive: false
87
+ - Regex : ' ^"(llvm|llvm-c|clang|clang-c)/'
88
+ Priority : 2
89
+ SortPriority : 0
90
+ - Regex : ' ^(<|"(gtest|gmock|isl|json)/)'
91
+ Priority : 3
92
+ SortPriority : 0
90
93
- Regex : ' ^<.*\.h>'
91
94
Priority : 1
92
95
SortPriority : 0
93
- CaseSensitive: false
94
96
- Regex : ' ^<.*'
95
97
Priority : 2
96
98
SortPriority : 0
97
- CaseSensitive: false
98
99
- Regex : ' .*'
99
100
Priority : 3
100
101
SortPriority : 0
101
- CaseSensitive: false
102
102
IncludeIsMainRegex : ' ([-_](test|unittest))?$'
103
103
IncludeIsMainSourceRegex : ' '
104
104
IndentAccessModifiers : false
105
- IndentCaseLabels: true
105
+ IndentCaseLabels : false
106
106
IndentCaseBlocks : false
107
107
IndentGotoLabels : true
108
108
IndentPPDirectives : None
109
109
IndentExternBlock : AfterExternBlock
110
- IndentRequires: false
111
110
IndentWidth : 2
112
111
IndentWrappedFunctionNames : false
113
112
InsertTrailingCommas : None
@@ -124,18 +123,18 @@ ObjCBlockIndentWidth: 2
124
123
ObjCBreakBeforeNestedBlockParam : true
125
124
ObjCSpaceAfterProperty : false
126
125
ObjCSpaceBeforeProtocolList : true
126
+ PackConstructorInitializers : BinPack
127
127
PenaltyBreakAssignment : 2
128
- PenaltyBreakBeforeFirstCallParameter: 1
128
+ PenaltyBreakBeforeFirstCallParameter : 19
129
129
PenaltyBreakComment : 300
130
130
PenaltyBreakFirstLessLess : 120
131
131
PenaltyBreakOpenParenthesis : 0
132
132
PenaltyBreakString : 1000
133
133
PenaltyBreakTemplateDeclaration : 10
134
134
PenaltyExcessCharacter : 1000000
135
- PenaltyReturnTypeOnItsOwnLine: 200
136
- PenaltyIndentedWhitespace: 0
137
- PointerAlignment: Left
138
- PPIndentWidth: -1
135
+ PenaltyReturnTypeOnItsOwnLine : 60
136
+ PointerAlignment : Right
137
+ PPIndentWidth : -1
139
138
RawStringFormats :
140
139
- Language : Cpp
141
140
Delimiters :
@@ -195,7 +194,7 @@ SpaceAroundPointerQualifiers: Default
195
194
SpaceBeforeRangeBasedForLoopColon : true
196
195
SpaceInEmptyBlock : false
197
196
SpaceInEmptyParentheses : false
198
- SpacesBeforeTrailingComments: 2
197
+ SpacesBeforeTrailingComments : 1 # 2
199
198
SpacesInAngles : Never
200
199
SpacesInConditionalStatement : false
201
200
SpacesInContainerLiterals : true
0 commit comments