-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
45 lines (43 loc) · 1.26 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
BasedOnStyle: LLVM
AccessModifierOffset: 0
#AlignConsecutiveAssignments: true
AlignEscapedNewlinesLeft: false
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
#AlwaysBreakAfterDefinitionReturnType
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: false
BinPackArguments: true
BinPackParameters: true
BreakBeforeBinaryOperators: false
BreakBeforeBraces: Attach
BreakConstructorInitializersBeforeComma: true
ColumnLimit: 130
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 3
#ContinuationIndentWidth:
Cpp11BracedListStyle: true
DerivePointerBinding : true
IndentCaseLabels: true
#IndentFunctionDeclarationAfterType:true
IndentWidth: 1
Language: Cpp
MaxEmptyLinesToKeep: 3
NamespaceIndentation : Inner
PointerBindsToType: true
#PointerAlignment: Left
SpaceAfterControlStatementKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesInParentheses: false
#SpacesInAngles:false
Standard: Cpp11
TabWidth: 1
UseTab: Never