-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
60 lines (60 loc) · 1.52 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
---
BasedOnStyle: Google
AccessModifierOffset: -2
AlignArrayOfStructures: Right
AlignConsecutiveAssignments:
Enabled: true
AlignCompound: true
AlignConsecutiveDeclarations:
Enabled: true
PadOperators: true
AlignConsecutiveMacros:
Enabled: true
AcrossEmptyLines: true
PadOperators: true
AlignTrailingComments:
OverEmptyLines: 1
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Empty
AllowShortFunctionsOnASingleLine: InlineOnly
BinPackArguments: false
BinPackParameters: false
BraceWrapping:
AfterCaseLabel: false
AfterClass: "true"
AfterControlStatement: Always
AfterEnum: "true"
AfterFunction: "true"
AfterNamespace: "true"
AfterObjCDeclaration: false
AfterStruct: "true"
AfterUnion: "true"
AfterExternBlock: false
BeforeCatch: "true"
BeforeElse: "true"
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: "false"
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
BreakAfterReturnType: Automatic
BreakBeforeBinaryOperators: false
BreakBeforeBraces: Custom
BreakBeforeTernaryOperators: false
BreakConstructorInitializers: BeforeComma
BreakTemplateDeclarations: MultiLine
ColumnLimit: 120
ConstructorInitializerIndentWidth: 2
Cpp11BracedListStyle: false
DerivePointerAlignment: false
InsertNewlineAtEOF: true
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 60
PenaltyBreakFirstLessLess: 1000
PenaltyBreakString: 1
PenaltyExcessCharacter: 1000
PenaltyReturnTypeOnItsOwnLine: 90
SortIncludes: false
SpacesInAngles: false
TabWidth: 2