-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
70 lines (59 loc) · 1.78 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
BasedOnStyle: Google
BreakConstructorInitializers: AfterColon
ConstructorInitializerAllOnOneLineOrOnePerLine: false
SpaceBeforeCtorInitializerColon: false
BreakBeforeBinaryOperators: All
AlignOperands: false
SpacesBeforeTrailingComments: 1
PointerAlignment: Right
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
ColumnLimit: 120
IndentWidth: 4
ContinuationIndentWidth: 8
NamespaceIndentation: All
FixNamespaceComments: false
IndentPPDirectives: BeforeHash
IndentExternBlock: NoIndent
CommentPragmas: '^TODO'
BraceWrapping:
AfterEnum: true
AfterExternBlock: false
IncludeCategories:
- Regex: '^"argus/lowlevel(/.*|\.hpp)$'
Priority: 1
- Regex: '^"internal/lowlevel/.*'
Priority: 1
- Regex: '^"argus/core(/.*|\.hpp)'
Priority: 2
- Regex: '^"internal/core/.*'
Priority: 2
- Regex: '^"argus/ecs(/.*|\.hpp)'
Priority: 3
- Regex: '^"internal/ecs/.*'
Priority: 3
- Regex: '^"argus/resman(/.*|\.hpp)'
Priority: 4
- Regex: '^"internal/resman/.*'
Priority: 4
- Regex: '^"argus/render(/.*|\.hpp)'
Priority: 5
- Regex: '^"internal/render/.*'
Priority: 5
- Regex: '^"argus/render_(.*)(/.*|\.hpp)'
Priority: 6
- Regex: '^"internal/render_([^/]*)/.*'
Priority: 6
- Regex: '^"argus/input(/[^/]*|\.hpp)'
Priority: 7
- Regex: '^"internal/input/.*'
Priority: 7
- Regex: '^".*"$'
Priority: 101
- Regex: '^<(chrono|co.*|ctgmath)>$'
Priority: 102
- Regex: '^<c.*>$'
Priority: 103
- Regex: '^<.*>$'
Priority: 102