1
1
---
2
2
Language : Cpp
3
-
4
3
# BasedOnStyle: LLVM
5
4
AccessModifierOffset : -4
6
5
AlignAfterOpenBracket : Align
6
+ AlignConsecutiveMacros : true
7
7
AlignConsecutiveAssignments : false
8
+ # AlignConsecutiveBitFields : true
8
9
AlignConsecutiveDeclarations : false
9
10
AlignEscapedNewlinesLeft : false
10
11
AlignOperands : true
11
- AlignTrailingComments : false
12
- AllowAllConstructorInitializersOnNextLine : true
12
+ AlignTrailingComments : true
13
+ AllowAllArgumentsOnNextLine : true
14
+ AllowAllConstructorInitializersOnNextLine : true
13
15
AllowAllParametersOfDeclarationOnNextLine : false
14
- AllowShortBlocksOnASingleLine : false
16
+ AllowShortBlocksOnASingleLine : Never
15
17
AllowShortCaseLabelsOnASingleLine : false
16
18
AllowShortFunctionsOnASingleLine : None
17
- AllowShortIfStatementsOnASingleLine : false
18
- AllowShortLoopsOnASingleLine : true
19
+ AllowShortLambdasOnASingleLine : None
20
+ AllowShortIfStatementsOnASingleLine : Never
21
+ # AllowShortEnumsOnASingleLine: false
22
+ AllowShortLoopsOnASingleLine : false
19
23
AlwaysBreakAfterDefinitionReturnType : None
20
24
AlwaysBreakAfterReturnType : None
21
25
AlwaysBreakBeforeMultilineStrings : false
22
26
AlwaysBreakTemplateDeclarations : true
23
27
BinPackArguments : false
24
28
BinPackParameters : false
25
- BraceWrapping :
26
- AfterCaseLabel : false
29
+ BraceWrapping :
30
+ AfterCaseLabel : true
27
31
AfterClass : true
28
32
AfterControlStatement : true
29
33
AfterEnum : true
@@ -32,47 +36,55 @@ BraceWrapping:
32
36
AfterObjCDeclaration : false
33
37
AfterStruct : true
34
38
AfterUnion : true
39
+ AfterExternBlock : false
35
40
BeforeCatch : false
36
41
BeforeElse : true
37
42
IndentBraces : false
38
43
SplitEmptyFunction : true
39
44
SplitEmptyRecord : true
40
45
SplitEmptyNamespace : true
41
- BreakBeforeBinaryOperators : None
46
+ BreakBeforeBinaryOperators : NonAssignment
42
47
BreakBeforeBraces : Allman
43
48
BreakBeforeInheritanceComma : false
44
49
BreakInheritanceList : BeforeColon
45
50
BreakBeforeTernaryOperators : true
46
51
BreakConstructorInitializersBeforeComma : true
47
- BreakConstructorInitializers : BeforeColon
52
+ BreakConstructorInitializers : BeforeComma
48
53
BreakAfterJavaFieldAnnotations : false
49
54
BreakStringLiterals : true
50
- ColumnLimit : 200
55
+ ColumnLimit : 180
51
56
CommentPragmas : ' ^ IWYU pragma:'
52
57
CompactNamespaces : false
53
58
ConstructorInitializerAllOnOneLineOrOnePerLine : false
54
59
ConstructorInitializerIndentWidth : 4
55
60
ContinuationIndentWidth : 4
56
61
Cpp11BracedListStyle : true
62
+ DeriveLineEnding : true
57
63
DerivePointerAlignment : false
58
64
DisableFormat : false
59
65
ExperimentalAutoDetectBinPacking : false
60
66
FixNamespaceComments : true
61
- ForEachMacros :
67
+ ForEachMacros :
62
68
- foreach
63
69
- Q_FOREACH
64
70
- BOOST_FOREACH
65
71
IncludeBlocks : Preserve
66
- IncludeCategories :
72
+ IncludeCategories :
67
73
- Regex : ' ^"(llvm|llvm-c|clang|clang-c)/'
68
74
Priority : 2
75
+ SortPriority : 0
69
76
- Regex : ' ^(<|"(gtest|gmock|isl|json)/)'
70
77
Priority : 3
78
+ SortPriority : 0
71
79
- Regex : ' .*'
72
80
Priority : 1
81
+ SortPriority : 0
73
82
IncludeIsMainRegex : ' (Test)?$'
74
- IndentCaseLabels : false
75
- IndentPPDirectives : None
83
+ IncludeIsMainSourceRegex : ' '
84
+ IndentCaseLabels : true
85
+ # IndentCaseBlocks: false
86
+ IndentGotoLabels : true
87
+ IndentPPDirectives : AfterHash
76
88
IndentWidth : 4
77
89
IndentWrappedFunctionNames : false
78
90
JavaScriptQuotes : Leave
@@ -107,16 +119,22 @@ SpaceBeforeCtorInitializerColon: true
107
119
SpaceBeforeInheritanceColon : true
108
120
SpaceBeforeParens : ControlStatements
109
121
SpaceBeforeRangeBasedForLoopColon : true
122
+ SpaceInEmptyBlock : false
110
123
SpaceInEmptyParentheses : false
111
- SpacesBeforeTrailingComments : 1
124
+ SpacesBeforeTrailingComments : 2
112
125
SpacesInAngles : false
126
+ SpacesInConditionalStatement : false
113
127
SpacesInContainerLiterals : true
114
128
SpacesInCStyleCastParentheses : false
115
129
SpacesInParentheses : false
116
130
SpacesInSquareBrackets : false
131
+ SpaceBeforeSquareBrackets : false
117
132
Standard : Cpp11
118
- StatementMacros :
133
+ StatementMacros :
119
134
- Q_UNUSED
120
135
- QT_REQUIRE_VERSION
121
136
TabWidth : 4
137
+ UseCRLF : false
122
138
UseTab : Never
139
+ ...
140
+
0 commit comments