-
Notifications
You must be signed in to change notification settings - Fork 144
/
.clang-format
48 lines (48 loc) · 1.29 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
BasedOnStyle: LLVM
AccessModifierOffset: -4
AlignEscapedNewlines: Left
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Linux
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: true
BreakStringLiterals: false
ColumnLimit: 100
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^<([^/]+|(sys|arpa)/.+)>$'
Priority: 1
- Regex: '^<soter/.+>$'
Priority: 2
- Regex: '^<(themis|themispp|jsthemis)/.+>$'
Priority: 3
- Regex: '^<.+>$'
Priority: 4
- Regex: '^"soter/.+"$'
Priority: 5
- Regex: '^"(themis|themispp|jsthemis)/.+"$'
Priority: 6
- Regex: '^".+"$'
Priority: 7
IndentWidth: 4
ObjCSpaceAfterProperty: true
PenaltyBreakAssignment: 100
PenaltyBreakBeforeFirstCallParameter: 1000
PenaltyBreakComment: 10000
PenaltyReturnTypeOnItsOwnLine: 10000
PenaltyExcessCharacter: 4
PointerAlignment: Left
ReflowComments: false
Standard: Auto
TabWidth: 8
UseTab: Never
...