-
Notifications
You must be signed in to change notification settings - Fork 28
/
.clang-format
46 lines (43 loc) · 1.08 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
---
Language: Cpp
BasedOnStyle: Google
ColumnLimit: 100
IndentCaseBlocks: true
IndentWidth: 4
MaxEmptyLinesToKeep: 2
SpaceAfterTemplateKeyword: false
SpacesBeforeTrailingComments: 4
DerivePointerAlignment: false
PointerAlignment: Left
ReferenceAlignment: Left
Standard: Latest
# These must go in order from most to least specific.
# Priority number goes from lowest to highest.
# Higher the number - lower the include position.
IncludeCategories:
# "*"
- Regex: '^".*"'
Priority: 1
CaseSensitive: false
# <sys/*.h> and <*.h> together
- Regex: '^<sys/.*\.h>'
Priority: 2
CaseSensitive: false
# <*/*.h> after <*>
- Regex: '^<.*/.*\.h>'
Priority: 4
CaseSensitive: false
# <sys/*.h> and <*.h> together
- Regex: '^<.*\.h>'
Priority: 2
CaseSensitive: false
# <*>
- Regex: '^<.*'
Priority: 3
CaseSensitive: false
# *
- Regex: '.*'
Priority: 5
CaseSensitive: false
IndentAccessModifiers: true
...