-
Notifications
You must be signed in to change notification settings - Fork 15
/
.clang-format
37 lines (37 loc) · 977 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
34
35
36
37
BasedOnStyle: Mozilla
IndentWidth: 4
ColumnLimit: 160
BreakBeforeBraces: Custom
BraceWrapping:
AfterControlStatement: true
AfterClass: true
AfterNamespace: true
AfterFunction: true
BeforeCatch: true
BeforeElse: true
AfterStruct: true
AccessModifierOffset: -4
IndentCaseLabels: false
BinPackParameters: false
AlwaysBreakAfterReturnType: None
AlwaysBreakAfterDefinitionReturnType: None
AllowAllParametersOfDeclarationOnNextLine: false
ConstructorInitializerIndentWidth: 4
NamespaceIndentation: None
PointerAlignment: Left
Standard: Cpp11
UseTab: Never
AlignAfterOpenBracket: Align
PenaltyReturnTypeOnItsOwnLine: 0
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^((<|")(shared)\/)'
Priority: 4
- Regex: '^((<|")(components)\/)'
Priority: 3
- Regex: '^(<.*\.(h|hpp|hxx)>)'
Priority: 2
- Regex: '^".*'
Priority: 1
- Regex: '^(<[\w]*>)'
Priority: 5