-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
44 lines (43 loc) · 1.14 KB
/
.clang-format
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
---
# Compliant to clang-foramt 17
Language: Cpp
BasedOnStyle: LLVM
AccessModifierOffset: -4
AlignConsecutiveBitFields: AcrossComments
AlignConsecutiveMacros: AcrossComments
AllowShortBlocksOnASingleLine: Empty
AllowShortFunctionsOnASingleLine: Empty
AllowShortLambdasOnASingleLine: Inline
AlwaysBreakTemplateDeclarations: Yes
ColumnLimit: 0
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 8
BracedInitializerIndentWidth: 4
BreakAfterAttributes: Leave
BreakBeforeConceptDeclarations: Always
EmptyLineAfterAccessModifier: Never
IfMacros: ['IF']
IncludeCategories:
- Regex: '^<.*'
Priority: 1
- Regex: '^".*'
Priority: 2
- Regex: '.*'
Priority: 3
IncludeIsMainRegex: '([-_](test|unittest))?$'
IndentWidth: 4
IndentRequiresClause: false
InsertNewlineAtEOF: true
KeepEmptyLinesAtTheStartOfBlocks: false
LineEnding: LF
PointerAlignment: Left
QualifierAlignment: Custom
QualifierOrder: ['inline', 'static', 'friend', 'constexpr', 'const', 'volatile', 'type']
RequiresClausePosition: OwnLine
ShortNamespaceLines: 0
SpaceAfterTemplateKeyword: false
SpaceBeforeParens: ControlStatementsExceptControlMacros
---
Language: Json
IndentWidth: 4
...