@@ -2,21 +2,36 @@ Language: Cpp
2
2
# BasedOnStyle: Google
3
3
# ---
4
4
AccessModifierOffset : -4
5
- AlignOperands : false
6
- AlignAfterOpenBracket : true
5
+ AlignAfterOpenBracket : Align
6
+ AlignConsecutiveAssignments : false
7
+ AlignConsecutiveDeclarations : false
7
8
AlignEscapedNewlinesLeft : true
9
+ AlignOperands : false
8
10
AlignTrailingComments : true
9
11
AllowAllParametersOfDeclarationOnNextLine : true
10
12
AllowShortBlocksOnASingleLine : false
11
13
AllowShortCaseLabelsOnASingleLine : false
12
14
AllowShortFunctionsOnASingleLine : Empty
13
15
AllowShortIfStatementsOnASingleLine : false
14
16
AllowShortLoopsOnASingleLine : false
15
- AlwaysBreakAfterDefinitionReturnType : false
17
+ AlwaysBreakAfterDefinitionReturnType : None
18
+ AlwaysBreakAfterReturnType : None
16
19
AlwaysBreakBeforeMultilineStrings : true
17
20
AlwaysBreakTemplateDeclarations : true
18
21
BinPackArguments : false
19
22
BinPackParameters : false
23
+ BraceWrapping :
24
+ AfterClass : false
25
+ AfterControlStatement : false
26
+ AfterEnum : false
27
+ AfterFunction : false
28
+ AfterNamespace : false
29
+ AfterObjCDeclaration : false
30
+ AfterStruct : false
31
+ AfterUnion : false
32
+ BeforeCatch : false
33
+ BeforeElse : false
34
+ IndentBraces : false
20
35
BreakBeforeBinaryOperators : None
21
36
BreakBeforeBraces : Attach
22
37
BreakBeforeTernaryOperators : true
@@ -31,13 +46,18 @@ DerivePointerAlignment: false
31
46
DisableFormat : false
32
47
ExperimentalAutoDetectBinPacking : false
33
48
ForEachMacros : [ foreach, Q_FOREACH, BOOST_FOREACH ]
49
+ IncludeCategories :
50
+ - Regex : ' .*'
51
+ Priority : 1
34
52
IndentCaseLabels : true
35
- IndentFunctionDeclarationAfterType : false
36
53
IndentWidth : 4
37
54
IndentWrappedFunctionNames : false
38
- KeepEmptyLinesAtTheStartOfBlocks : false
55
+ KeepEmptyLinesAtTheStartOfBlocks : true
56
+ MacroBlockBegin : ' '
57
+ MacroBlockEnd : ' '
39
58
MaxEmptyLinesToKeep : 2
40
59
NamespaceIndentation : None
60
+ ObjCBlockIndentWidth : 2
41
61
ObjCSpaceAfterProperty : false
42
62
ObjCSpaceBeforeProtocolList : false
43
63
PenaltyBreakBeforeFirstCallParameter : 19
@@ -47,14 +67,16 @@ PenaltyBreakString: 1000
47
67
PenaltyExcessCharacter : 1000000
48
68
PenaltyReturnTypeOnItsOwnLine : 200
49
69
PointerAlignment : Left
70
+ ReflowComments : true
71
+ SortIncludes : true
50
72
SpaceAfterCStyleCast : false
51
73
SpaceBeforeAssignmentOperators : true
52
74
SpaceBeforeParens : ControlStatements
53
75
SpaceInEmptyParentheses : false
54
76
SpacesBeforeTrailingComments : 2
55
77
SpacesInAngles : false
56
- SpacesInCStyleCastParentheses : false
57
78
SpacesInContainerLiterals : true
79
+ SpacesInCStyleCastParentheses : false
58
80
SpacesInParentheses : false
59
81
SpacesInSquareBrackets : false
60
82
Standard : Cpp11
@@ -66,7 +88,9 @@ Language: JavaScript
66
88
# BasedOnStyle: Google
67
89
# ---
68
90
AccessModifierOffset : -1
69
- AlignAfterOpenBracket : true
91
+ AlignAfterOpenBracket : Align
92
+ AlignConsecutiveAssignments : false
93
+ AlignConsecutiveDeclarations : false
70
94
AlignEscapedNewlinesLeft : true
71
95
AlignOperands : false
72
96
AlignTrailingComments : true
@@ -76,11 +100,24 @@ AllowShortCaseLabelsOnASingleLine: false
76
100
AllowShortFunctionsOnASingleLine : None
77
101
AllowShortIfStatementsOnASingleLine : false
78
102
AllowShortLoopsOnASingleLine : false
79
- AlwaysBreakAfterDefinitionReturnType : false
103
+ AlwaysBreakAfterDefinitionReturnType : None
104
+ AlwaysBreakAfterReturnType : None
80
105
AlwaysBreakBeforeMultilineStrings : true
81
106
AlwaysBreakTemplateDeclarations : true
82
107
BinPackArguments : false
83
108
BinPackParameters : false
109
+ BraceWrapping :
110
+ AfterClass : false
111
+ AfterControlStatement : false
112
+ AfterEnum : false
113
+ AfterFunction : false
114
+ AfterNamespace : false
115
+ AfterObjCDeclaration : false
116
+ AfterStruct : false
117
+ AfterUnion : false
118
+ BeforeCatch : false
119
+ BeforeElse : false
120
+ IndentBraces : false
84
121
BreakBeforeBinaryOperators : None
85
122
BreakBeforeBraces : Attach
86
123
BreakBeforeTernaryOperators : true
@@ -94,12 +131,16 @@ Cpp11BracedListStyle: true
94
131
DerivePointerAlignment : true
95
132
DisableFormat : false
96
133
ExperimentalAutoDetectBinPacking : false
97
- ForEachMacros : [ ]
134
+ ForEachMacros : [ foreach, Q_FOREACH, BOOST_FOREACH ]
135
+ IncludeCategories :
136
+ - Regex : ' .*'
137
+ Priority : 1
98
138
IndentCaseLabels : true
99
- IndentFunctionDeclarationAfterType : false
100
139
IndentWidth : 4
101
140
IndentWrappedFunctionNames : false
102
141
KeepEmptyLinesAtTheStartOfBlocks : false
142
+ MacroBlockBegin : ' '
143
+ MacroBlockEnd : ' '
103
144
MaxEmptyLinesToKeep : 1
104
145
NamespaceIndentation : None
105
146
ObjCBlockIndentWidth : 2
@@ -112,14 +153,16 @@ PenaltyBreakString: 1000
112
153
PenaltyExcessCharacter : 1000000
113
154
PenaltyReturnTypeOnItsOwnLine : 200
114
155
PointerAlignment : Left
156
+ ReflowComments : true
157
+ SortIncludes : true
115
158
SpaceAfterCStyleCast : false
116
159
SpaceBeforeAssignmentOperators : true
117
160
SpaceBeforeParens : ControlStatements
118
161
SpaceInEmptyParentheses : false
119
162
SpacesBeforeTrailingComments : 2
120
163
SpacesInAngles : false
121
- SpacesInCStyleCastParentheses : false
122
164
SpacesInContainerLiterals : false
165
+ SpacesInCStyleCastParentheses : false
123
166
SpacesInParentheses : false
124
167
SpacesInSquareBrackets : false
125
168
Standard : Auto
0 commit comments