-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clang-format
33 lines (30 loc) · 1.11 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
Language: Cpp
BasedOnStyle: Google
DerivePointerAlignment: false
AllowShortFunctionsOnASingleLine: Empty
AllowAllParametersOfDeclarationOnNextLine: false
AllowAllArgumentsOnNextLine: false
BinPackArguments: false
BinPackParameters: false
# The include rules below structures includes as
#
# - STL headers (anything without an extension, tbp)
# - Other headers (anything that ends with .h)
# - External SCL headers (anything of the form <scl/...>)
# - Internal SCL headers (anything of the form "scl/...")
#
# The only exception is when a .cc file includes a header file with the same
# name at the same path.
IncludeCategories:
- Regex: '^<scl/.*\.h*'
Priority: 4
SortPriority: 0
- Regex: '^<.*\.h>'
Priority: 2
SortPriority: 0
- Regex: '^<.*'
Priority: 1
SortPriority: 0
- Regex: '^scl/.*'
Priority: 5
SortPriority: 0