-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
41 lines (34 loc) · 953 Bytes
/
.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
BasedOnStyle: LLVM
Language: Cpp
IndentWidth: 4
TabWidth: 4
ColumnLimit: 90
UseTab: Always
UseCRLF: false
#ContinuationIndentWidth: 4
AlignAfterOpenBracket: BlockIndent
#AlignArrayOfStructures: Right
AlignEscapedNewlines: Left
AlignConsecutiveMacros: AcrossEmptyLines
AlignOperands: AlignAfterOperator
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowAllArgumentsOnNextLine: true
AllowShortFunctionsOnASingleLine: Empty
AllowShortBlocksOnASingleLine: Empty
AlwaysBreakAfterReturnType: None
BinPackArguments: true
BinPackParameters: false
BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: true
IncludeBlocks: Regroup
IndentPPDirectives: AfterHash
IndentWrappedFunctionNames: true
MaxEmptyLinesToKeep: 1
ReflowComments: true
SeparateDefinitionBlocks: Leave
SpacesBeforeTrailingComments: 2
ReferenceAlignment: Right
PointerAlignment: Right
PenaltyBreakAssignment: 1000
PenaltyReturnTypeOnItsOwnLine: 1000