-
Notifications
You must be signed in to change notification settings - Fork 5
/
.clang-format
77 lines (75 loc) · 2.76 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
Language: Cpp
BasedOnStyle : LLVM
Standard : Cpp03
# BasedOnStyle: LLVM
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
IndentBraces: true
ConstructorInitializerIndentWidth: 4
AlignEscapedNewlinesLeft: false
AlignTrailingComments: true
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: false
AlwaysBreakTemplateDeclarations: true
AlwaysBreakBeforeMultilineStrings: true
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
ColumnLimit: 120
ConstructorInitializerAllOnOneLineOrOnePerLine: true
DerivePointerAlignment: false
ExperimentalAutoDetectBinPacking: false
IndentCaseLabels: true
IndentWrappedFunctionNames: false
IndentFunctionDeclarationAfterType: false
MaxEmptyLinesToKeep: 1
KeepEmptyLinesAtTheStartOfBlocks: true
NamespaceIndentation: None
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: false
PenaltyExcessCharacter : 500
PenaltyReturnTypeOnItsOwnLine : 120
PenaltyBreakBeforeFirstCallParameter : 100
PenaltyBreakString : 20
PenaltyBreakComment : 10
PenaltyBreakFirstLessLess : 0
SpacesBeforeTrailingComments: 1
Cpp11BracedListStyle: true
IndentWidth: 4
TabWidth: 4
UseTab: Never
BreakBeforeBraces: Allman
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpacesInAngles : false
SpaceInEmptyParentheses : false
SpacesInCStyleCastParentheses : false
SpaceAfterCStyleCast : false
SpacesInContainerLiterals : true
SpaceBeforeAssignmentOperators : true
ContinuationIndentWidth : 4
SpaceBeforeParens : ControlStatements
DisableFormat : false
AccessModifierOffset : -4
PointerAlignment : Middle
AlignAfterOpenBracket : Align
AllowAllParametersOfDeclarationOnNextLine : true
BinPackArguments : false
BinPackParameters : false
AlignOperands : true
AlignConsecutiveAssignments : false
AllowShortFunctionsOnASingleLine : None
BreakBeforeBinaryOperators : None
AlwaysBreakAfterReturnType : None
SortIncludes : false