-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-format
51 lines (42 loc) · 1.01 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
46
47
48
49
50
51
Language: Cpp
BasedOnStyle: LLVM
AlignOperands: Align
QualifierAlignment: Custom
ColumnLimit: 120
AlignEscapedNewlines: Right
ReferenceAlignment: Right
PointerAlignment: Right
TabWidth: 4
UseTab: Always
IndentWidth: 4
IndentAccessModifiers: false
IndentCaseBlocks: true
IndentCaseLabels: false
AccessModifierOffset: -4
SortIncludes: CaseInsensitive
IncludeBlocks: Regroup
InsertNewlineAtEOF: true
KeepEmptyLinesAtEOF: false
MaxEmptyLinesToKeep: 2
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: Always
SpaceAfterTemplateKeyword: true
FixNamespaceComments: true
AllowShortFunctionsOnASingleLine: None
AllowShortLambdasOnASingleLine: Inline
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: true
AllowShortEnumsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlignArrayOfStructures: Right
QualifierOrder:
- const
- constexpr
- static
- inline
- friend
- volatile
- restrict
- type
AlwaysBreakTemplateDeclarations: Yes