-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.clang-format
42 lines (42 loc) · 1.02 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
---
Language: Cpp
BasedOnStyle: LLVM
ColumnLimit: 140
AlignAfterOpenBracket: Align
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: true
AfterStruct: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
BinPackArguments: false
BinPackParameters: false
ContinuationIndentWidth: 4
IndentWidth: 4
MaxEmptyLinesToKeep: 1
PointerAlignment: Right
ReflowComments: true
SortIncludes: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
TabWidth: 4
UseTab: ForIndentation
AccessModifierOffset: -4
AlwaysBreakTemplateDeclarations: true
AlignEscapedNewlines: Left
PenaltyReturnTypeOnItsOwnLine: 1000
IndentGotoLabels: false
---