-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.clang-format
60 lines (51 loc) · 1.44 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
49
50
51
52
53
54
55
56
57
58
59
60
---
BasedOnStyle: Google
Language: Cpp
Standard: c++17
AlignAfterOpenBracket: AlwaysBreak
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: Empty
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: Yes
AlwaysBreakBeforeMultilineStrings: true
BinPackArguments: false
BinPackParameters: false
BreakBeforeBraces: Stroustrup
BreakConstructorInitializers: BeforeColon
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ContinuationIndentWidth: 2
FixNamespaceComments: true
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^"(reelay)/'
Priority: 1
CaseSensitive: true
- Regex: '^((<|")(boost|catch2)/)'
Priority: 2
CaseSensitive: true
- Regex: "<[a-zA-Z][a-zA-Z0-9_]+>"
Priority: 3
- Regex: ".*"
Priority: 4
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeParens: Never
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInConditionalStatement: false
SpacesInContainerLiterals: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
DerivePointerAlignment: false
PointerAlignment: Left
ReflowComments: true
UseTab: Never