-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
52 lines (50 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
BasedOnStyle: Mozilla
AccessModifierOffset: '-4'
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: 'true'
AlignConsecutiveDeclarations: 'false'
AlignEscapedNewlinesLeft: 'true'
AlignOperands: 'true'
AlignTrailingComments: 'true'
AllowAllParametersOfDeclarationOnNextLine: 'true'
AllowShortBlocksOnASingleLine: 'false'
AllowShortCaseLabelsOnASingleLine: 'false'
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: 'false'
AllowShortLoopsOnASingleLine: 'false'
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakBeforeMultilineStrings: 'false'
AlwaysBreakAfterReturnType: None
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: true
AfterStruct: false
AfterClass: false
AfterControlStatement: false
AfterFunction: true
AfterNamespace: false
AfterUnion: true
BeforeCatch: true
BeforeElse: true
ColumnLimit: '100'
ConstructorInitializerAllOnOneLineOrOnePerLine: 'false'
ConstructorInitializerIndentWidth: '4'
ContinuationIndentWidth: '4'
IncludeCategories:
- Regex: '^<zephyr'
Priority: 2
- Regex: '^<'
Priority: 1
- Regex: '^"'
Priority: 3
IndentCaseLabels: 'false'
IndentWidth: '4'
KeepEmptyLinesAtTheStartOfBlocks: 'false'
Language: Cpp
PointerAlignment: Right
SortIncludes: 'true'
SpaceAfterCStyleCast: 'true'
SpaceBeforeParens: ControlStatements
SpacesInSquareBrackets: 'false'
TabWidth: '4'
UseTab: Never