@@ -3,45 +3,37 @@ Language: Cpp
3
3
# BasedOnStyle: Google
4
4
AccessModifierOffset : -1
5
5
AlignAfterOpenBracket : Align
6
+ AlignConsecutiveMacros : false
6
7
AlignConsecutiveAssignments : false
8
+ AlignConsecutiveBitFields : false
7
9
AlignConsecutiveDeclarations : false
8
10
AlignEscapedNewlines : Left
9
- AlignOperands : true
11
+ AlignOperands : Align
10
12
AlignTrailingComments : true
13
+ # Arguments can be moved to next line if they all will fit
14
+ AllowAllArgumentsOnNextLine : true
15
+ AllowAllConstructorInitializersOnNextLine : true
11
16
AllowAllParametersOfDeclarationOnNextLine : true
12
- AllowShortBlocksOnASingleLine : false
17
+ AllowShortEnumsOnASingleLine : false
18
+ AllowShortBlocksOnASingleLine : Empty
13
19
AllowShortCaseLabelsOnASingleLine : false
14
20
# Empty and Inline instead of ALL
15
21
AllowShortFunctionsOnASingleLine : Empty
16
- AllowShortIfStatementsOnASingleLine : true
17
- AllowShortLoopsOnASingleLine : true
18
- AlwaysBreakAfterDefinitionReturnType : None
22
+ AllowShortIfStatementsOnASingleLine : Never
23
+ AllowShortLoopsOnASingleLine : false
19
24
AlwaysBreakAfterReturnType : None
20
25
AlwaysBreakBeforeMultilineStrings : true
21
- AlwaysBreakTemplateDeclarations : true
26
+ AlwaysBreakTemplateDeclarations : Yes
27
+ # false to split arguments one for line
22
28
BinPackArguments : true
23
29
BinPackParameters : true
24
- BraceWrapping :
25
- AfterClass : false
26
- AfterControlStatement : false
27
- AfterEnum : false
28
- AfterFunction : false
29
- AfterNamespace : false
30
- AfterObjCDeclaration : false
31
- AfterStruct : false
32
- AfterUnion : false
33
- AfterExternBlock : false
34
- BeforeCatch : false
35
- BeforeElse : false
36
- IndentBraces : false
37
- SplitEmptyFunction : true
38
- SplitEmptyRecord : true
39
- SplitEmptyNamespace : true
40
30
BreakBeforeBinaryOperators : None
41
31
BreakBeforeBraces : Attach
42
- BreakBeforeInheritanceComma : false
43
- BreakBeforeTernaryOperators : true
32
+ BreakInheritanceList : BeforeColon
33
+ BreakBeforeTernaryOperators : false
44
34
BreakConstructorInitializersBeforeComma : false
35
+ BreakBeforeInheritanceComma : false
36
+ # AfterColon looks better, but BeforeColon is set by GSG
45
37
BreakConstructorInitializers : BeforeColon
46
38
BreakAfterJavaFieldAnnotations : false
47
39
BreakStringLiterals : true
@@ -73,15 +65,19 @@ IncludeCategories:
73
65
Priority : 3
74
66
IncludeIsMainRegex : ' ([-_](test|unittest))?$'
75
67
IndentCaseLabels : true
68
+ IndentCaseBlocks : false
69
+ IndentGotoLabels : true
76
70
IndentPPDirectives : None
71
+ IndentExternBlock : NoIndent
77
72
IndentWidth : 2
78
73
IndentWrappedFunctionNames : false
74
+ InsertTrailingCommas : None
79
75
JavaScriptQuotes : Leave
80
76
JavaScriptWrapImports : true
81
77
KeepEmptyLinesAtTheStartOfBlocks : false
82
78
MacroBlockBegin : ' '
83
79
MacroBlockEnd : ' '
84
- MaxEmptyLinesToKeep : 1
80
+ MaxEmptyLinesToKeep : 2
85
81
NamespaceIndentation : None
86
82
ObjCBlockIndentWidth : 2
87
83
ObjCSpaceAfterProperty : false
@@ -98,18 +94,30 @@ ReflowComments: true
98
94
SortIncludes : true
99
95
SortUsingDeclarations : true
100
96
SpaceAfterCStyleCast : false
97
+ SpaceAfterLogicalNot : false
101
98
SpaceAfterTemplateKeyword : true
102
99
SpaceBeforeAssignmentOperators : true
100
+ SpaceBeforeCpp11BracedList : false
101
+ SpaceBeforeCtorInitializerColon : true
102
+ SpaceBeforeInheritanceColon : true
103
103
SpaceBeforeParens : ControlStatements
104
+ SpaceBeforeRangeBasedForLoopColon : true
105
+ SpaceInEmptyBlock : false
104
106
SpaceInEmptyParentheses : false
105
107
SpacesBeforeTrailingComments : 2
106
108
SpacesInAngles : false
109
+ SpacesInConditionalStatement : false
107
110
SpacesInContainerLiterals : true
108
111
SpacesInCStyleCastParentheses : false
109
112
SpacesInParentheses : false
110
113
SpacesInSquareBrackets : false
114
+ SpaceBeforeSquareBrackets : false
111
115
Standard : Auto
112
116
TabWidth : 8
117
+ UseCRLF : false
113
118
UseTab : Never
119
+ WhitespaceSensitiveMacros :
120
+ - TYPE_SWITCH
121
+ - VALUE_SWITCH
114
122
...
115
123
0 commit comments