forked from noobaa/noobaa-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
61 lines (56 loc) · 1.55 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
BasedOnStyle: LLVM
UseTab: Never
TabWidth: 4
IndentWidth: 4
ColumnLimit: 0
AccessModifierOffset: -4
ContinuationIndentWidth: 4
ConstructorInitializerIndentWidth: 4
ConstructorInitializerAllOnOneLineOrOnePerLine: true
Cpp11BracedListStyle: false
SpaceBeforeCpp11BracedList: false
SortIncludes: true
SortUsingDeclarations: true
BinPackArguments: false
BinPackParameters: false
FixNamespaceComments: true
NamespaceIndentation: Inner
PointerAlignment: Left
IndentPPDirectives: BeforeHash
AlignOperands: DontAlign
AlignAfterOpenBracket: DontAlign
AlignEscapedNewlines: Left
AlignTrailingComments: false
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlwaysBreakAfterReturnType: TopLevelDefinitions
AlwaysBreakTemplateDeclarations: true
AlwaysBreakBeforeMultilineStrings: false
AllowShortLoopsOnASingleLine: true
AllowShortBlocksOnASingleLine: true
AllowShortFunctionsOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllArgumentsOnNextLine: true
BreakInheritanceList: BeforeComma
BreakConstructorInitializers: BeforeComma
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: true
AfterUnion: true
AfterClass: true
AfterStruct: true
AfterFunction: true
AfterNamespace: true
AfterExternBlock: true
AfterCaseLabel: false
AfterControlStatement: Never
BeforeElse: false
BeforeWhile: false
BeforeCatch: false
IndentBraces: false
BeforeLambdaBody: false
SplitEmptyRecord: false
SplitEmptyFunction: false
SplitEmptyNamespace: false