forked from opensvc/multipath-tools
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.clang-format
More file actions
32 lines (32 loc) · 822 Bytes
/
.clang-format
File metadata and controls
32 lines (32 loc) · 822 Bytes
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
# -*- yaml -*-
---
BasedOnStyle: LLVM
IndentWidth: 8
ContinuationIndentWidth: 8
UseTab: Always
TabWidth: 8
BreakBeforeBraces: Linux
BreakStringLiterals: false
AllowShortFunctionsOnASingleLine: Empty
AlignAfterOpenBracket: Align
PointerAlignment: Right
ColumnLimit: 79
PenaltyBreakAssignment: 50
PenaltyBreakBeforeFirstCallParameter: 200
#PenaltyBreakBeforeMemberAccess: 250
PenaltyBreakComment: 50
PenaltyBreakOpenParenthesis: 200
PenaltyBreakString: 300
PenaltyExcessCharacter: 5
PenaltyIndentedWhitespace: 2
PenaltyReturnTypeOnItsOwnLine: 50
SortIncludes: Never
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignConsecutiveAssignments: None
AlignConsecutiveDeclarations: None
SkipMacroDefinitionBody: true
ForEachMacros:
- vector_foreach_slot
- vector_foreach_slot_backwards
- vector_foreach_slot_after
---