-
Notifications
You must be signed in to change notification settings - Fork 92
/
.clang-format
76 lines (74 loc) · 2.13 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
---
BasedOnStyle: Microsoft
AccessModifierOffset: '0'
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveAssignments: 'false'
AlignConsecutiveDeclarations: 'false'
AlignOperands: 'true'
AlignTrailingComments: 'true'
AllowAllParametersOfDeclarationOnNextLine: 'true'
AllowShortBlocksOnASingleLine: 'false'
AllowShortCaseLabelsOnASingleLine: 'false'
#AllowShortFunctionsOnASingleLine: 'InlineOnly'
AllowShortIfStatementsOnASingleLine: 'false'
AllowShortLoopsOnASingleLine: 'false'
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
#AlwaysBreakTemplateDeclarations: 'Yes'
BinPackArguments: 'true'
BinPackParameters: 'true'
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: 'true'
BreakConstructorInitializers: AfterColon
#BreakInheritanceList: AfterColon
ColumnLimit: '256'
Cpp11BracedListStyle: 'true'
ExperimentalAutoDetectBinPacking: 'false'
IndentCaseLabels: 'true'
#IndentPPDirectives: None
IndentWrappedFunctionNames: 'true'
KeepEmptyLinesAtTheStartOfBlocks: 'false'
MaxEmptyLinesToKeep: '1'
NamespaceIndentation: All
PointerAlignment: Left
SpaceAfterCStyleCast: 'false'
#SpaceAfterTemplateKeyword: 'false'
SpaceBeforeAssignmentOperators: 'true'
#SpaceBeforeCpp11BracedList: True
#SpaceBeforeCtorInitializerColon: 'true'
#SpaceBeforeInheritanceColon: 'true'
SpaceBeforeParens: Never
SpaceBeforeRangeBasedForLoopColon: 'true'
SpaceInEmptyParentheses: 'false'
SpacesInAngles: 'false'
SpacesInCStyleCastParentheses: 'false'
SpacesInParentheses: 'false'
SpacesInSquareBrackets: 'false'
Standard: Cpp11
SortIncludes: 'true'
TabWidth: '8'
IndentWidth: '8'
UseTab: Always
IncludeCategories:
# global header
- Regex: '"global.h"'
Priority: -100
# global header
- Regex: '"(gfx.h|z64global.h)"'
Priority: -98
# Headers in <>
- Regex: '<(.)+>'
Priority: -96
# Headers in def
- Regex: '"def/(.)+"'
Priority: -70
# Headers in relative paths
- Regex: '"\.\.(.)+"'
Priority: -92
# Headers in def
- Regex: '"objects/(.)+"'
Priority: -60
# Headers in ""
- Regex: '"(.)+"'
Priority: -80
...