-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clang-format
69 lines (65 loc) · 1.47 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
#Language: Cpp
BasedOnStyle: Google
DerivePointerAlignment: false
PointerAlignment: Left
CommentPragmas: '(@copydoc)'
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignConsecutiveMacros: true
AlignEscapedNewlines: Left
AlignTrailingComments: true
AllowShortBlocksOnASingleLine: true
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
BraceWrapping:
AfterClass: true
BreakBeforeBraces: Allman
BreakStringLiterals: true
ColumnLimit: 140
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 2
Cpp11BracedListStyle: true
DisableFormat: false
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '*Config.*'
Priority: 2
- Regex: 'ion/net/.*'
Priority: 10
- Regex: 'raknet/plus/.*'
Priority: 10
- Regex: 'raknet/.*'
Priority: 10
- Regex: 'ion/arena/.*'
Priority: 15
- Regex: 'ion/time/.*'
Priority: 16
- Regex: 'ion/container/.*'
Priority: 20
- Regex: 'ion/debug/.*'
Priority: 21
- Regex: 'ion/memory/.*'
Priority: 22
- Regex: 'ion/concurrency/.*'
Priority: 23
- Regex: 'ion/jobs/.*'
Priority: 24
- Regex: 'ion/temporary/.*'
Priority: 25
- Regex: '*'
Priority: 100
IndentCaseLabels: false
IndentPPDirectives: BeforeHash
IndentWidth: 4
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Latest
TabWidth: 4
UseTab: Always