-
Notifications
You must be signed in to change notification settings - Fork 6
/
.clang-format
46 lines (45 loc) · 986 Bytes
/
.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
45
46
---
BasedOnStyle: LLVM
AlignConsecutiveAssignments:
Enabled: true
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: true
PadOperators: true
AlignConsecutiveDeclarations:
Enabled: true
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: true
PadOperators: true
ColumnLimit: 0
IndentWidth: 4
TabWidth: 4
UseTab: ForContinuationAndIndentation
---
Language: Cpp
AccessModifierOffset: -4
AlignAfterOpenBracket: AlwaysBreak
AllowShortFunctionsOnASingleLine: Inline
BinPackArguments: false
BreakConstructorInitializers: AfterColon
BreakInheritanceList: AfterColon
ColumnLimit: 100
IncludeBlocks: Regroup
IncludeCategories:
- Regex: <[[:alnum:]_]+>
Priority: 1
- Regex: <[[:alnum:].]+>
Priority: 2
- Regex: ^<[[:alnum:]]+/
Priority: 3
- Regex: ^"[[:alnum:]]+/
Priority: 4
- Regex: .*
Priority: 5
SortPriority: 0
InsertNewlineAtEOF: true
PenaltyIndentedWhitespace: 10
PenaltyReturnTypeOnItsOwnLine: 200
RemoveSemicolon: true
Standard: c++20