-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.clang-format
70 lines (58 loc) · 1.72 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
---
BasedOnStyle: LLVM
ColumnLimit: 120
IndentWidth: 4
AccessModifierOffset: -4
ConstructorInitializerIndentWidth: 8
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowAllArgumentsOnNextLine: false
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
AlignAfterOpenBracket: AlwaysBreak
AlignTrailingComments: false
AlignOperands: false
AlwaysBreakTemplateDeclarations: MultiLine
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: BeforeComma
BreakBeforeBraces: Custom
BreakBeforeTernaryOperators: true
BraceWrapping:
AfterNamespace: false
AfterExternBlock: false
AfterCaseLabel: false
AfterClass: false
AfterStruct: false
AfterUnion: false
AfterEnum: false
AfterFunction: false
AfterControlStatement: false
BeforeCatch: true
BeforeElse: true
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: true
BinPackArguments: false
BinPackParameters: false
SpaceAfterTemplateKeyword: false
SpaceBeforeParens: ControlStatements
IndentPPDirectives: AfterHash
IndentWrappedFunctionNames: true
SortIncludes: true
SortUsingDeclarations: true
IncludeBlocks: Regroup
# InsertTrailingCommas: Wrapped
PointerAlignment: Left
PenaltyReturnTypeOnItsOwnLine: 2000
PenaltyBreakBeforeFirstCallParameter: 100
PenaltyBreakTemplateDeclaration: 10
RequiresClausePosition: SingleLine
IndentRequiresClause: false
BreakBeforeConceptDeclarations: Allowed