-
Notifications
You must be signed in to change notification settings - Fork 10
/
.clang-format
44 lines (44 loc) · 1.11 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
---
---
IncludeBlocks: Regroup
UseTab: ForContinuationAndIndentation
AllowShortIfStatementsOnASingleLine: false
IndentWidth: 4
TabWidth: 4
IndentCaseLabels: false
AllowShortFunctionsOnASingleLine: Empty
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: true
AfterStruct: true
AfterFunction: true
AfterUnion: true
SplitEmptyFunction: false
SplitEmptyRecord: false
BeforeCatch: false
BeforeElse: false
BeforeWhile: false
SpaceAfterCStyleCast: true
PointerAlignment: Right
ReferenceAlignment: Left
AlignOperands: AlignAfterOperator
AlignConsecutiveMacros: true
ColumnLimit: 80
SpaceBeforeSquareBrackets: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: Custom
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterFunctionDefinitionName: false
AfterOverloadedOperator: false
SpacesInCStyleCastParentheses: false
BitFieldColonSpacing: Both
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
IndentGotoLabels: false
IndentPPDirectives: AfterHash
PPIndentWidth: 1
SpaceInEmptyBlock: true
SeparateDefinitionBlocks: Leave
...