-
Notifications
You must be signed in to change notification settings - Fork 77
/
Copy path.clang-format
54 lines (54 loc) · 1.43 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
Language: Cpp
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: true
AfterStruct: true
SplitEmptyFunction: true
AfterClass: true
AfterControlStatement: true
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: true
AfterUnion: true
AfterExternBlock: false
BeforeCatch: true
BeforeElse: true
AfterCaseLabel: true
SortIncludes: Never
AlignEscapedNewlines: Left
AlignConsecutiveMacros: true
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: false
AlignTrailingComments:
Kind: Always
OverEmptyLines: 1
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: Never
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakBeforeMultilineStrings: true
BasedOnStyle: google
BinPackParameters: false
BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: false
ColumnLimit: 120
ContinuationIndentWidth: 4
DerivePointerAlignment: false
PointerAlignment: Right
IndentCaseLabels: true
IndentWrappedFunctionNames: false
IndentWidth: 4
MaxEmptyLinesToKeep: 1
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpacesBeforeTrailingComments: 1
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: false
SpacesInParentheses: false
Standard: c++11
BreakConstructorInitializers: AfterColon
BreakInheritanceList: AfterColon
AlwaysBreakTemplateDeclarations: Yes
TabWidth: 1
UseTab: Never