-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.clang-format
41 lines (41 loc) · 1.04 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
---
BasedOnStyle: Google
ColumnLimit: 120
IndentWidth: 4
AlignAfterOpenBracket: Align
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: false
AfterUnion: false
AfterStruct: false
SplitEmptyFunction: true
AfterNamespace: false
AfterClass: false
AfterFunction: true
AfterControlStatement: MultiLine
BeforeElse: false
AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: false
DerivePointerAlignment: false
PointerAlignment: Left
AlignTrailingComments: true
AllowShortBlocksOnASingleLine: false
AlignConsecutiveAssignments: AcrossComments
AlignConsecutiveDeclarations: AcrossComments
AlignConsecutiveBitFields: AcrossComments
AlignOperands: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowAllArgumentsOnNextLine: true
AllowShortCaseLabelsOnASingleLine: false
BinPackArguments: false
BinPackParameters: false
AccessModifierOffset: -4
ReflowComments: true
SortIncludes: true
TabWidth: 4
AlwaysBreakTemplateDeclarations: Yes
AllowShortFunctionsOnASingleLine: Empty
UseTab: Never
NamespaceIndentation: All
---
Language: Cpp