-
Notifications
You must be signed in to change notification settings - Fork 2
/
.clang-format
45 lines (38 loc) · 1.11 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
45
---
BasedOnStyle: LLVM
IndentWidth: 3
TabWidth: 3
UseTab: AlignWithSpaces
ColumnLimit: 140
Language: Cpp
Standard: c++20
DerivePointerAlignment: false
PointerAlignment: Left
IndentAccessModifiers: false
AlignAfterOpenBracket: AlwaysBreak
AlignArrayOfStructures: Right
AlignConsecutiveAssignments: Consecutive
EmptyLineBeforeAccessModifier: LogicalBlock
FixNamespaceComments: true
BreakBeforeBraces: Linux
PenaltyReturnTypeOnItsOwnLine: 1024
Cpp11BracedListStyle: false
SortIncludes: true
SortUsingDeclarations: true
AlignTrailingComments: true
SpacesBeforeTrailingComments: 1
NamespaceIndentation: None
MaxEmptyLinesToKeep: 1
KeepEmptyLinesAtTheStartOfBlocks: false
AllowAllParametersOfDeclarationOnNextLine: true
AllowAllArgumentsOnNextLine : true
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: false
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: Inline
BitFieldColonSpacing: None
AlignConsecutiveBitFields: Consecutive
BreakConstructorInitializers: BeforeComma
ConstructorInitializerIndentWidth: 0