aboutsummaryrefslogtreecommitdiff
path: root/utils/.clang-format
blob: 17c8f14b63d462c2a2a0c28f291699d640941b0d (plain) (blame)
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
Language: Cpp

AlignAfterOpenBracket:                      Align
AlignConsecutiveAssignments:                true
AlignConsecutiveBitFields:                  true
AlignConsecutiveDeclarations:               false
AlignConsecutiveMacros:                     true
AlignEscapedNewlines:                       Right
AlignOperands:                              Align
AlignTrailingComments:                      true
AllowAllArgumentsOnNextLine:                true
AllowAllParametersOfDeclarationOnNextLine:  true
AllowShortBlocksOnASingleLine:              Empty
AllowShortCaseLabelsOnASingleLine:          false
AllowShortEnumsOnASingleLine:               false
AllowShortFunctionsOnASingleLine:           Empty
AllowShortIfStatementsOnASingleLine:        Never
AllowShortLoopsOnASingleLine:               false
AlwaysBreakAfterReturnType:                 None
AlwaysBreakBeforeMultilineStrings:          false
BinPackArguments:                           true
BinPackParameters:                          true
BreakBeforeBinaryOperators:                 NonAssignment
BreakBeforeBraces:                          WebKit
BreakBeforeTernaryOperators:                true
BreakStringLiterals:                        true
ColumnLimit:                                80
ContinuationIndentWidth:                    4
DeriveLineEnding:                           false
DerivePointerAlignment:                     false
DisableFormat:                              false
IncludeBlocks:                              Preserve
IndentCaseBlocks:                           false
IndentCaseLabels:                           false
IndentExternBlock:                          Indent
IndentGotoLabels:                           false
IndentPPDirectives:                         AfterHash
IndentWidth:                                4
IndentWrappedFunctionNames:                 false
KeepEmptyLinesAtTheStartOfBlocks:           false
MaxEmptyLinesToKeep:                        2
PointerAlignment:                           Right
ReflowComments:                             true
SortIncludes:                               true
SpaceAfterCStyleCast:                       true
SpaceAfterLogicalNot:                       false
SpaceBeforeAssignmentOperators:             true
SpaceBeforeParens:                          ControlStatements
SpaceBeforeSquareBrackets:                  false
SpaceInEmptyBlock:                          false
SpaceInEmptyParentheses:                    false
SpacesBeforeTrailingComments:               1
SpacesInCStyleCastParentheses:              false
SpacesInConditionalStatement:               false
SpacesInParentheses:                        false
SpacesInSquareBrackets:                     false
TabWidth:                                   4
UseCRLF:                                    false
UseTab:                                     Always