-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
.clang-format
47 lines (37 loc) · 969 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
38
39
40
41
42
43
44
45
46
47
BasedOnStyle: WebKit
AlignAfterOpenBracket: Align
AlignTrailingComments: true
AlignConsecutiveDeclarations: None
PointerAlignment: Left
ReferenceAlignment: Left
AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
AllowShortLambdasOnASingleLine: Empty
AllowShortFunctionsOnASingleLine: All
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterCaseLabel: true
AfterControlStatement: Always
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterStruct: true
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
BreakBeforeBinaryOperators: None
BreakConstructorInitializers: AfterColon
ColumnLimit: 0
IndentPPDirectives: AfterHash
IndentCaseLabels: true
MaxEmptyLinesToKeep: 2
NamespaceIndentation: All
SortIncludes: Never
SpaceInEmptyBlock: false
SpacesBeforeTrailingComments: 2
UseTab: Never
TabWidth: 4