forked from bareos/bareos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
31 lines (30 loc) · 1022 Bytes
/
.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
BasedOnStyle: Google
Language: Cpp
Standard: Cpp11
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: true
AllowShortFunctionsOnASingleLine: true
AllowShortLambdasOnASingleLine: All
AlwaysBreakTemplateDeclarations: MultiLine
BinPackParameters: false
BraceWrapping:
AfterFunction: true
AfterEnum: true
BreakBeforeBinaryOperators: All
BreakBeforeBraces: Custom
BreakBeforeInheritanceComma: true
BreakBeforeTernaryOperators: true
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeComma
ColumnLimit: 80
Cpp11BracedListStyle: true
DerivePointerAlignment: false
ForEachMacros: ['foreach_alist', 'foreach_alist_index', 'foreach_alist_rindex', 'foreach_child', 'foreach_dlist', 'foreach_htable', 'foreach_jcr', 'foreach_rblist', 'foreach_res', 'foreach_vol']
IndentPPDirectives: AfterHash
MaxEmptyLinesToKeep: 2
PointerAlignment: Left
SortIncludes: false