1
- # Clang-Format 12 .0.0
2
- # https://releases.llvm.org/12 .0.0/tools/clang/docs/ClangFormatStyleOptions.html
1
+ # Clang-Format 13 .0.0
2
+ # https://releases.llvm.org/13 .0.0/tools/clang/docs/ClangFormatStyleOptions.html
3
3
---
4
4
AccessModifierOffset : -4
5
5
AlignAfterOpenBracket : AlwaysBreak
6
+ AlignArrayOfStructures : None
6
7
AlignConsecutiveAssignments : None
7
8
AlignConsecutiveBitFields : None
8
9
AlignConsecutiveDeclarations : None
@@ -20,6 +21,7 @@ AllowShortFunctionsOnASingleLine: None
20
21
AllowShortIfStatementsOnASingleLine : Never
21
22
AllowShortLambdasOnASingleLine : Inline
22
23
AllowShortLoopsOnASingleLine : false
24
+ AlwaysBreakAfterDefinitionReturnType : None
23
25
AlwaysBreakAfterReturnType : None
24
26
AlwaysBreakBeforeMultilineStrings : true
25
27
AlwaysBreakTemplateDeclarations : Yes
@@ -60,6 +62,7 @@ Cpp11BracedListStyle: true
60
62
DeriveLineEnding : false
61
63
DerivePointerAlignment : false
62
64
DisableFormat : false
65
+ EmptyLineAfterAccessModifier : Never
63
66
EmptyLineBeforeAccessModifier : Always
64
67
FixNamespaceComments : true
65
68
IncludeBlocks : Regroup
@@ -74,6 +77,7 @@ IncludeCategories:
74
77
Priority : 5
75
78
- Regex : ' <[[:alnum:]/_]+>'
76
79
Priority : 6
80
+ IndentAccessModifiers : false
77
81
IndentCaseBlocks : false
78
82
IndentCaseLabels : true
79
83
IndentExternBlock : NoIndent
@@ -84,11 +88,15 @@ IndentWidth: 4
84
88
IndentWrappedFunctionNames : false
85
89
InsertTrailingCommas : Wrapped
86
90
KeepEmptyLinesAtTheStartOfBlocks : false
91
+ LambdaBodyIndentation : Signature
87
92
MaxEmptyLinesToKeep : 1
88
93
NamespaceIndentation : Inner
94
+ PPIndentWidth : -1
89
95
PointerAlignment : Right
96
+ ReferenceAlignment : Right
90
97
ReflowComments : true
91
- SortIncludes : true
98
+ ShortNamespaceLines : 0
99
+ SortIncludes : CaseInsensitive
92
100
SortUsingDeclarations : true
93
101
SpaceAfterCStyleCast : false
94
102
SpaceAfterLogicalNot : false
@@ -109,6 +117,9 @@ SpacesInAngles: false
109
117
SpacesInCStyleCastParentheses : false
110
118
SpacesInConditionalStatement : false
111
119
SpacesInContainerLiterals : false
120
+ SpacesInLineCommentPrefix :
121
+ Minimum : 1
122
+ Maximum : -1
112
123
SpacesInParentheses : false
113
124
SpacesInSquareBrackets : false
114
125
Standard : c++20
0 commit comments