1 AccessModifierOffset: -8
2 AlignAfterOpenBracket: Align
3 AlignConsecutiveAssignments: false
4 AlignConsecutiveDeclarations: false
5 AlignConsecutiveMacros: Consecutive
6 AlignEscapedNewlines: Left
8 AlignTrailingComments: false
9 AllowAllConstructorInitializersOnNextLine: true
10 AllowShortBlocksOnASingleLine: false
11 AllowShortCaseLabelsOnASingleLine: false
12 AllowShortFunctionsOnASingleLine: None
13 AllowShortIfStatementsOnASingleLine: false
14 AllowShortLoopsOnASingleLine: false
15 AlwaysBreakAfterReturnType: None
16 AlwaysBreakBeforeMultilineStrings: false
17 AlwaysBreakTemplateDeclarations: Yes
18 BinPackArguments: false
19 BinPackParameters: false
20 BitFieldColonSpacing: None
21 BreakBeforeBraces: Custom
22 BreakConstructorInitializers: AfterColon
24 AfterControlStatement: false
30 AfterExternBlock: false
35 SplitEmptyFunction: true
36 BreakBeforeBinaryOperators: None
37 BreakBeforeTernaryOperators: false
38 BreakConstructorInitializers: AfterColon
39 BreakStringLiterals: false
41 ConstructorInitializerAllOnOneLineOrOnePerLine: true
42 ConstructorInitializerIndentWidth: 8
43 ContinuationIndentWidth: 8
44 Cpp11BracedListStyle: false
45 DerivePointerAlignment: false
47 EmptyLineBeforeAccessModifier: LogicalBlock
48 FixNamespaceComments: true
50 - 'cds_lfht_for_each_entry'
51 - 'cds_lfht_for_each_entry_safe'
52 - 'cds_lfht_for_each_duplicate'
53 - 'cds_list_for_each_entry'
54 - 'cds_list_for_each_entry_safe'
56 IncludeBlocks: Regroup
60 - Regex: '<common/.*>'
64 - Regex: '<vendor/.*>'
69 IncludeIsMainRegex: '(Test)?$'
70 IndentCaseLabels: false
71 IndentPPDirectives: None
73 IndentWrappedFunctionNames: false
74 KeepEmptyLinesAtTheStartOfBlocks: false
77 MaxEmptyLinesToKeep: 1
78 NamespaceIndentation: None
80 # Taken from git's rules
81 PenaltyBreakAssignment: 10
82 PenaltyBreakBeforeFirstCallParameter: 30
83 PenaltyBreakComment: 10
84 PenaltyBreakString: 10
85 PenaltyExcessCharacter: 100
86 PenaltyReturnTypeOnItsOwnLine: 60
88 PointerAlignment: Right
89 ReferenceAlignment: Left
92 SpaceAfterCStyleCast: true
93 SpaceBeforeAssignmentOperators: true
94 SpaceBeforeParens: ControlStatements
95 SpaceInEmptyParentheses: false
96 SpacesBeforeTrailingComments: 1
97 SpacesInContainerLiterals: false
98 SpacesInCStyleCastParentheses: false
99 SpacesInParentheses: false
100 SpacesInSquareBrackets: false