forked from tactcomplabs/rev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
74 lines (74 loc) · 2.16 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
71
72
73
74
BasedOnStyle: LLVM
Standard: c++17
ColumnLimit: 132
UseTab: Never
UseCRLF: false
AlignEscapedNewlines: Left
AllowShortFunctionsOnASingleLine: Inline
AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: false
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: false
AllowShortBlocksOnASingleLine: Never
BinPackArguments: false
AllowAllArgumentsOnNextLine: true
BinPackParameters: false
AllowAllParametersOfDeclarationOnNextLine: true
BitFieldColonSpacing: Both
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
AfterControlStatement: Never
AfterEnum: false
AfterFunction: false
AfterNamespace: false
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
ConstructorInitializerIndentWidth: 2
BreakConstructorInitializers: BeforeColon
ContinuationIndentWidth: 2
FixNamespaceComments: true
IndentWrappedFunctionNames: true
SortIncludes: true
SpaceBeforeParens: Never
SpacesInAngles: Never
SpacesInParentheses: true
SpacesInSquareBrackets: false
SpacesInConditionalStatement: true
SpacesInCStyleCastParentheses: false
SpaceInEmptyParentheses: false
SpaceAfterTemplateKeyword: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCaseColon: false
SpaceBeforeAssignmentOperators: true
SpaceAfterLogicalNot: false
SpaceAfterCStyleCast: true
SpaceAroundPointerQualifiers: Default
PointerAlignment: Left
DerivePointerAlignment: false
ReferenceAlignment: Pointer
InsertTrailingCommas: Wrapped
MaxEmptyLinesToKeep: 1
AlignTrailingComments: true
SpacesBeforeTrailingComments: 2
AlignArrayOfStructures: Right
AlignConsecutiveAssignments: AcrossEmptyLinesAndComments
AlignConsecutiveDeclarations: Consecutive
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignConsecutiveBitFields: AcrossEmptyLinesAndComments
AlignAfterOpenBracket: BlockIndent
AlwaysBreakTemplateDeclarations: Yes
BreakBeforeBinaryOperators: false
BreakBeforeTernaryOperators: false
AlignOperands: Align
ReflowComments: false
SeparateDefinitionBlocks: Always
EmptyLineBeforeAccessModifier: LogicalBlock