forked from flux-framework/flux-sched
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
43 lines (39 loc) · 1.12 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
41
42
43
BasedOnStyle : google
SpaceBeforeParens : Always
IndentWidth : 4
BreakBeforeBraces : Custom
BraceWrapping :
BeforeElse : false
AfterFunction : true
UseTab: Never
AllowShortIfStatementsOnASingleLine : false
ConstructorInitializerAllOnOneLineOrOnePerLine : true
AllowShortFunctionsOnASingleLine : false
AllowShortLoopsOnASingleLine : false
BinPackParameters : false
BinPackArguments : false
AllowAllParametersOfDeclarationOnNextLine : false
AlignTrailingComments : true
ColumnLimit : 100
# do not put all arguments on one line unless it's the same line as the call
PenaltyBreakBeforeFirstCallParameter : 10000000
PenaltyReturnTypeOnItsOwnLine : 65000
PenaltyBreakString : 10
# treat foreach macros as for loops
ForEachMacros :
- json_array_foreach
- json_object_foreach
SortIncludes : false
BreakBeforeBinaryOperators : NonAssignment
AlignAfterOpenBracket: Align
AlignOperands : true
BreakBeforeTernaryOperators : true
SpaceBeforeSquareBrackets: false
IndentPPDirectives: None
NamespaceIndentation: None
SpaceAfterTemplateKeyword: false
DerivePointerAlignment: false
PointerAlignment: Right
#
# vi:tabstop=4 shiftwidth=4 expandtab ft=yaml
#