1 AlignAfterOpenBracket: DontAlign
2 AlignConsecutiveAssignments: false
3 AlignConsecutiveDeclarations: false
4 AlignEscapedNewlines: Left
6 AlignTrailingComments: false
7 AllowShortBlocksOnASingleLine: false
8 AllowShortCaseLabelsOnASingleLine: false
9 AllowShortFunctionsOnASingleLine: None
10 AllowShortIfStatementsOnASingleLine: false
11 AllowShortLoopsOnASingleLine: false
12 AlwaysBreakAfterReturnType: None
13 AlwaysBreakBeforeMultilineStrings: false
14 BinPackArguments: true
15 BinPackParameters: false
17 AfterControlStatement: false
23 AfterExternBlock: false
27 SplitEmptyFunction: true
28 BreakBeforeBinaryOperators: None
29 BreakBeforeBraces: Custom
30 BreakBeforeTernaryOperators: false
31 BreakStringLiterals: false
33 ContinuationIndentWidth: 16
34 DerivePointerAlignment: false
37 - 'cds_lfht_for_each_entry'
38 - 'cds_lfht_for_each_entry_safe'
39 - 'cds_lfht_for_each_duplicate'
40 - 'cds_list_for_each_entry'
41 - 'cds_list_for_each_entry_safe'
43 IncludeBlocks: Preserve
47 IncludeIsMainRegex: '(Test)?$'
48 IndentCaseLabels: false
49 IndentPPDirectives: None
51 IndentWrappedFunctionNames: false
52 KeepEmptyLinesAtTheStartOfBlocks: false
55 MaxEmptyLinesToKeep: 1
57 # Taken from git's rules
58 PenaltyBreakAssignment: 10
59 PenaltyBreakBeforeFirstCallParameter: 30
60 PenaltyBreakComment: 10
61 PenaltyBreakString: 10
62 PenaltyExcessCharacter: 100
63 PenaltyReturnTypeOnItsOwnLine: 60
65 PointerAlignment: Right
68 SpaceAfterCStyleCast: true
69 SpaceBeforeAssignmentOperators: true
70 SpaceBeforeParens: ControlStatements
71 SpaceInEmptyParentheses: false
72 SpacesBeforeTrailingComments: 1
73 SpacesInContainerLiterals: false
74 SpacesInCStyleCastParentheses: false
75 SpacesInParentheses: false
76 SpacesInSquareBrackets: false