forked from jinja2cpp/Jinja2Cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
36 lines (36 loc) · 953 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
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
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