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