-
Notifications
You must be signed in to change notification settings - Fork 36
/
.clang-format
28 lines (28 loc) · 692 Bytes
/
.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
---
BasedOnStyle: Microsoft
NamespaceIndentation: All
IndentWidth: 4
AccessModifierOffset: -4
DerivePointerAlignment: false
PointerAlignment: Left
AlwaysBreakTemplateDeclarations: Yes
SortIncludes: CaseSensitive
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^<[a-z_]+>'
Priority: 0
- Regex: '^<cubos/core/.*>'
Priority: 2
- Regex: '^<cubos/engine/.*>'
Priority: 3
- Regex: '^<tesseratos/.*>'
Priority: 4
- Regex: '^<.+\.h(pp)?>'
Priority: 1
- Regex: '.*'
Priority: 5
BreakConstructorInitializersBeforeComma: true
BreakConstructorInitializers: BeforeComma
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
...