forked from ebiggers/libdeflate
-
Notifications
You must be signed in to change notification settings - Fork 11
/
.clang-format
38 lines (37 loc) · 1.01 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
BasedOnStyle: Mozilla
Standard: Cpp11
IndentWidth: 4
ColumnLimit: 120
IndentPPDirectives: AfterHash
SortIncludes: false
AllowShortFunctionsOnASingleLine: All
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
AlignAfterOpenBracket: true
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AlignTrailingComments: true
BreakBeforeBinaryOperators: All
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: BeforeComma
BreakStringLiterals: true
AlwaysBreakTemplateDeclarations: MultiLine
CompactNamespaces: true
Cpp11BracedListStyle: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: false
BeforeCatch: false
AfterControlStatement: false
BeforeElse: false
AfterEnum: false
AfterFunction: true
AfterNamespace: false
SplitEmptyRecord: false
SplitEmptyFunction: false
SplitEmptyNamespace: false