forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-format
More file actions
executable file
·43 lines (42 loc) · 886 Bytes
/
.clang-format
File metadata and controls
executable file
·43 lines (42 loc) · 886 Bytes
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
---
Language: Cpp
AccessModifierOffset: -2
ColumnLimit: 100
DerivePointerAlignment: false
PointerAlignment: Left
SortIncludes: true
IncludeBlocks: Regroup
IncludeCategories:
# Main header file for the source file gets category 0 by default.
- Regex: '^<.*\.h>'
Priority: 1
- Regex: '^<.*>'
Priority: 2
# proxy_wasm_intrinsics[_lite] must be included before other header files, as it sets macros.
- Regex: '^"proxy_wasm_intrinsics'
Priority: 3
- Regex: '^"envoy'
Priority: 4
- Regex: '^"common'
Priority: 5
- Regex: '^"source'
Priority: 6
- Regex: '^"exe'
Priority: 7
- Regex: '^"server'
Priority: 8
- Regex: '^"extensions'
Priority: 9
- Regex: '^"test'
Priority: 10
- Regex: '^.*'
Priority: 11
TypenameMacros: ['STACK_OF']
...
---
Language: Proto
ColumnLimit: 100
SpacesInContainerLiterals: false
AllowShortFunctionsOnASingleLine: false
ReflowComments: false
...