-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
59 lines (49 loc) · 1.37 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
BasedOnStyle: LLVM
Language: Cpp
IndentWidth: 4
TabWidth: 4
AccessModifierOffset: -4
ColumnLimit: 90
UseTab: AlignWithSpaces
UseCRLF: false
#ContinuationIndentWidth: 4
AlignAfterOpenBracket: BlockIndent
#AlignArrayOfStructures: Right
AlignEscapedNewlines: Left
AlignConsecutiveMacros: AcrossEmptyLines
AlignOperands: AlignAfterOperator
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowAllArgumentsOnNextLine: true
AllowShortFunctionsOnASingleLine: Inline
AllowShortBlocksOnASingleLine: Empty
AlwaysBreakAfterReturnType: None
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: true
BinPackParameters: false
BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeComma
EmptyLineBeforeAccessModifier: LogicalBlock
FixNamespaceComments: true
IndentAccessModifiers: false
IndentPPDirectives: AfterHash
IndentWrappedFunctionNames: true
NamespaceIndentation: All
Cpp11BracedListStyle: false
MaxEmptyLinesToKeep: 1
ReflowComments: true
SeparateDefinitionBlocks: Always
SortUsingDeclarations: true
SortIncludes: CaseSensitive
IncludeBlocks: Regroup
SpaceAfterTemplateKeyword: true
SpaceBeforeCpp11BracedList: true
SpacesBeforeTrailingComments: 1
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
ReferenceAlignment: Left
PointerAlignment: Right
PenaltyBreakAssignment: 1000
PenaltyReturnTypeOnItsOwnLine: 1000