-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
60 lines (49 loc) · 1.24 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
52
53
54
55
56
57
58
59
Language: Cpp
Standard: Latest
ColumnLimit: 140
BreakBeforeBraces: Allman
BasedOnStyle: WebKit
PointerAlignment: Left
ReferenceAlignment: Left
UseTab: ForContinuationAndIndentation
TabWidth: 4
AlignOperands: Align
BreakBeforeBinaryOperators: None
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: Consecutive
AlignConsecutiveDeclarations: Consecutive
AlignTrailingComments:
Kind: Always
OverEmptyLines: 2
Cpp11BracedListStyle: true
DerivePointerAlignment: true
IndentPPDirectives: None
MaxEmptyLinesToKeep: 1
SpaceBeforeCpp11BracedList: false
NamespaceIndentation: All
SortIncludes: CaseSensitive
SeparateDefinitionBlocks: Always
FixNamespaceComments: true
SpaceAfterTemplateKeyword: false
AlwaysBreakTemplateDeclarations: Yes
RequiresClausePosition: OwnLine
IndentRequiresClause: false
AllowShortCaseLabelsOnASingleLine: true
IndentCaseLabels: true
IntegerLiteralSeparator:
Binary: 4
Decimal: 4
Hex: 4
DecimalMinDigits: 4
HexMinDigits: 6
BinPackArguments: false
BinPackParameters: true
IncludeCategories:
- Regex: '^<windows.h>'
Priority: -200
- Regex: '^<'
Priority: -100
# finally other "" includes go between system headers and our headers
- Regex: '^"'
Priority: 0
InsertNewlineAtEOF: true