-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
33 lines (33 loc) · 913 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
29
30
31
32
33
IndentWidth: 4
---
Language: Cpp
BasedOnStyle: Microsoft
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false
BinPackParameters: false
BraceWrapping:
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
BreakBeforeBinaryOperators: None
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: AfterColon
BreakBeforeInheritanceComma: false
IncludeBlocks: Preserve
SortIncludes: true
IncludeCategories:
# Headers in <> without extension.
- Regex: '<([A-Za-z0-9\Q/-_\E])+>'
Priority: 1
# Headers in <> from specific external libraries.
- Regex: '<(boost)\/'
Priority: 2
# Headers in <> with extension.
- Regex: '<([A-Za-z0-9.\Q/-_\E])+>'
Priority: 3
# Headers in "" with extension.
- Regex: '"([A-Za-z0-9.\Q/-_\E])+"'
Priority: 4
---
Language: Proto
BasedOnStyle: Google