forked from Sygmei/11Zip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
40 lines (36 loc) · 1.06 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
# See following document for information about .clang-format
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html
Language: Cpp
ColumnLimit: 200
DisableFormat: false
BasedOnStyle: Chromium
BreakBeforeBraces: Allman
# NOTE(assertores): this include ordering enshures that missing includes in headers
# lead to compilation errors. sadly there is a missing include in minizip. therefor
# this is disabled for now.
# IncludeBlocks: Regroup
# IncludeCategories:
# - Regex: '^".+"'
# Priority: 10
# - Regex: "^<[^.]+>"
# Priority: 30
# - Regex: "^<.+>"
# Priority: 20
# SortIncludes: true
AccessModifierOffset: -4
AlignAfterOpenBracket: AlwaysBreak
AllowAllArgumentsOnNextLine: false
AllowShortFunctionsOnASingleLine: None
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: NonAssignment
BreakConstructorInitializers: AfterColon
BreakInheritanceList: AfterColon
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
IndentCaseLabels: false
IndentWidth: 4
NamespaceIndentation: All
Standard: c++17
TabWidth: 4
UseCRLF: false