blob: 57204ccb242d1ee046f9694ee0cf656b4e494c9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
|
---
AccessModifierOffset: "-2"
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: true
AlignConsecutiveDeclarations:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: true
AlignEscapedNewlines: LeftWithLastLine
AlignTrailingComments: "true"
AllowAllParametersOfDeclarationOnNextLine: "true"
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: "false"
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: "false"
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakTemplateDeclarations: "true"
BinPackArguments: "true"
BinPackParameters: "true"
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: "true"
AfterControlStatement: "true"
AfterEnum: "true"
AfterFunction: "true"
AfterNamespace: "true"
AfterStruct: "true"
AfterUnion: "true"
AfterExternBlock: "true"
BeforeCatch: "true"
BeforeElse: "true"
IndentBraces: "false"
AfterCaseLabel: true
SplitEmptyFunction: false
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeInheritanceComma: "false"
BreakConstructorInitializers: BeforeComma
BreakStringLiterals: "true"
ColumnLimit: "120"
CompactNamespaces: "false"
Cpp11BracedListStyle: "true"
DerivePointerAlignment: "false"
FixNamespaceComments: "true"
IncludeBlocks: Regroup
IncludeCategories:
# Platform Headers
- Regex: 'arch/[[:alnum:]._\/]+\.hpp'
Priority: 100
# Kernel Headers
- Regex: 'kernel/[[:alnum:]._\/]+\.hpp'
Priority: 125
# KAPI Headers
- Regex: 'kapi/[[:alnum:]._\/]+\.hpp'
Priority: 150
# Library Headers
- Regex: 'acpi/[[:alnum:]._\/]+\.hpp'
Priority: 200
- Regex: 'elf/[[:alnum:]._\/]+\.hpp'
Priority: 210
- Regex: 'kstd/[[:alnum:]._\/]+(\.hpp)?'
Priority: 220
- Regex: 'multiboot2/[[:alnum:]._\/]+\.hpp'
Priority: 230
# Catch2 Headers
- Regex: 'catch2/[[:alnum:]._\/]+\.hpp'
Priority: 600
# Standard Headers
- Regex: '<[[:alnum:]._]+>'
Priority: 900
# Local Headers
- Regex: '".*"'
Priority: 10
IndentCaseLabels: "true"
IndentPPDirectives: None
IndentWidth: "2"
KeepEmptyLinesAtTheStartOfBlocks: "false"
Language: Cpp
MainIncludeChar: "Any"
MaxEmptyLinesToKeep: "1"
NamespaceIndentation: All
PointerAlignment: Middle
ReflowComments: "true"
SortIncludes: "true"
SortUsingDeclarations: "true"
SpaceAfterCStyleCast: "false"
SpaceAfterTemplateKeyword: "false"
SpaceBeforeAssignmentOperators: "true"
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: "false"
SpacesBeforeTrailingComments: "2"
SpacesInAngles: "false"
SpacesInContainerLiterals: "false"
SpacesInCStyleCastParentheses: "false"
SpacesInParentheses: "false"
SpacesInSquareBrackets: "false"
Standard: Latest
TabWidth: "2"
UseTab: Never
AlignArrayOfStructures: Right
AlignConsecutiveBitFields: {}
AllowAllArgumentsOnNextLine: false
AllowBreakBeforeNoexceptSpecifier: Never
AllowShortCaseExpressionOnASingleLine: false
AllowShortCompoundRequirementOnASingleLine: true
AllowShortEnumsOnASingleLine: false
AllowShortLambdasOnASingleLine: Inline
BitFieldColonSpacing: Both
BracedInitializerIndentWidth: 2
IntegerLiteralSeparator:
Binary: 4
BinaryMinDigits: 8
Decimal: 3
DecimalMinDigits: 6
Hex: 4
HexMinDigits: 8
QualifierAlignment: Custom
QualifierOrder:
- constexpr
- type
- static
- inline
- const
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
|