-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
41 lines (37 loc) · 976 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
---
Language: Cpp
BasedOnStyle: WebKit
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignTrailingComments: true
AlignArrayOfStructures: Left
AlignConsecutiveAssignments: AcrossComments
AlignConsecutiveDeclarations: AcrossEmptyLinesAndComments
AlwaysBreakAfterDefinitionReturnType: TopLevel
PointerAlignment: Left
QualifierAlignment: Left
AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: Never
BinPackArguments: true
BinPackParameters: true
BreakBeforeBraces: Allman
BraceWrapping:
AfterClass: true
AfterControlStatement: Always
AfterEnum: true
AfterFunction: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: true
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyNamespace: false
IndentExternBlock: NoIndent
IndentPPDirectives: None
IndentWrappedFunctionNames: false
SpaceBeforeParens: ControlStatements
ColumnLimit: 80
IndentWidth: 4
TabWidth: 4
UseTab: Never