@@ -3,17 +3,20 @@ Language: Cpp
3
3
# BasedOnStyle: Google
4
4
AccessModifierOffset : -1
5
5
AlignAfterOpenBracket : Align
6
- AlignConsecutiveMacros : false
7
- AlignConsecutiveAssignments : false
8
- AlignConsecutiveDeclarations : false
6
+ AlignArrayOfStructures : None
7
+ AlignConsecutiveMacros : None
8
+ AlignConsecutiveAssignments : None
9
+ AlignConsecutiveBitFields : None
10
+ AlignConsecutiveDeclarations : None
9
11
AlignEscapedNewlines : Left
10
- AlignOperands : true
12
+ AlignOperands : Align
11
13
AlignTrailingComments : true
12
14
AllowAllArgumentsOnNextLine : true
13
15
AllowAllConstructorInitializersOnNextLine : true
14
16
AllowAllParametersOfDeclarationOnNextLine : true
15
17
AllowShortBlocksOnASingleLine : Never
16
18
AllowShortCaseLabelsOnASingleLine : false
19
+ AllowShortEnumsOnASingleLine : true
17
20
AllowShortFunctionsOnASingleLine : None # All
18
21
AllowShortIfStatementsOnASingleLine : Never # WithoutElse
19
22
AllowShortLambdasOnASingleLine : Inline # All
@@ -24,10 +27,11 @@ AlwaysBreakBeforeMultilineStrings: true
24
27
AlwaysBreakTemplateDeclarations : Yes
25
28
BinPackArguments : true
26
29
BinPackParameters : true
30
+ BitFieldColonSpacing : Both
27
31
BraceWrapping :
28
32
AfterCaseLabel : false
29
33
AfterClass : false
30
- AfterControlStatement : false
34
+ AfterControlStatement : Never
31
35
AfterEnum : false
32
36
AfterFunction : false
33
37
AfterNamespace : false
@@ -37,12 +41,15 @@ BraceWrapping:
37
41
AfterExternBlock : false
38
42
BeforeCatch : false
39
43
BeforeElse : false
44
+ BeforeLambdaBody : false
45
+ BeforeWhile : false
40
46
IndentBraces : false
41
47
SplitEmptyFunction : true
42
48
SplitEmptyRecord : true
43
49
SplitEmptyNamespace : true
44
50
BreakBeforeBinaryOperators : None
45
51
BreakBeforeBraces : Attach
52
+ BreakBeforeConceptDeclarations : true
46
53
BreakBeforeInheritanceComma : true # false
47
54
BreakInheritanceList : BeforeComma # BeforeColon
48
55
BreakBeforeTernaryOperators : true
@@ -60,21 +67,30 @@ Cpp11BracedListStyle: true
60
67
DeriveLineEnding : true
61
68
DerivePointerAlignment : true
62
69
DisableFormat : false
70
+ EmptyLineAfterAccessModifier : Never
71
+ EmptyLineBeforeAccessModifier : LogicalBlock
63
72
ExperimentalAutoDetectBinPacking : false
64
73
FixNamespaceComments : true
65
74
ForEachMacros :
66
75
- Q_FOREACH_THIS_LIST_MUST_BE_NON_EMPTY
67
76
IncludeBlocks : Preserve
68
- # IndentCaseBlocks: false
77
+ IncludeCategories :
78
+ - Regex : ' .*'
79
+ Priority : 0
80
+ IndentAccessModifiers : false
81
+ IndentCaseBlocks : false
69
82
IndentCaseLabels : true
83
+ IndentExternBlock : AfterExternBlock
70
84
IndentGotoLabels : true
71
85
IndentPPDirectives : None
86
+ IndentRequires : false
72
87
IndentWidth : 2
73
88
IndentWrappedFunctionNames : false
74
89
# InsertTrailingCommas: None
75
90
# JavaScriptQuotes: Leave
76
91
# JavaScriptWrapImports: true
77
92
KeepEmptyLinesAtTheStartOfBlocks : false
93
+ LambdaBodyIndentation : Signature
78
94
MacroBlockBegin : ' '
79
95
MacroBlockEnd : ' '
80
96
MaxEmptyLinesToKeep : 1
@@ -91,15 +107,22 @@ PenaltyBreakFirstLessLess: 120
91
107
PenaltyBreakString : 1000
92
108
PenaltyBreakTemplateDeclaration : 10
93
109
PenaltyExcessCharacter : 1000000
110
+ PenaltyIndentedWhitespace : 0
94
111
PenaltyReturnTypeOnItsOwnLine : 200
95
112
PointerAlignment : Right
113
+ PPIndentWidth : -1
114
+ ReferenceAlignment : Pointer
96
115
ReflowComments : false # true
97
- SortIncludes : false # disabled, because we need case insensitive sort
116
+ ShortNamespaceLines : 0 # 1
117
+ SortIncludes : CaseInsensitive # CaseSensitive
118
+ # SortJavaStaticImport: Before
98
119
SortUsingDeclarations : false # true
99
120
SpaceAfterCStyleCast : false
100
121
SpaceAfterLogicalNot : false
101
122
SpaceAfterTemplateKeyword : true
123
+ SpaceAroundPointerQualifiers : Default
102
124
SpaceBeforeAssignmentOperators : true
125
+ SpaceBeforeCaseColon : false
103
126
SpaceBeforeCpp11BracedList : false
104
127
SpaceBeforeCtorInitializerColon : true
105
128
SpaceBeforeInheritanceColon : true
@@ -109,10 +132,13 @@ SpaceBeforeSquareBrackets: false
109
132
SpaceInEmptyBlock : false
110
133
SpaceInEmptyParentheses : false
111
134
SpacesBeforeTrailingComments : 2
112
- SpacesInAngles : false
135
+ SpacesInAngles : Never
113
136
SpacesInConditionalStatement : false
114
137
SpacesInContainerLiterals : true
115
138
SpacesInCStyleCastParentheses : false
139
+ SpacesInLineCommentPrefix :
140
+ Minimum : 1
141
+ Maximum : 1 # -1
116
142
SpacesInParentheses : false
117
143
SpacesInSquareBrackets : false
118
144
Standard : Auto
0 commit comments