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 BreakStringLiterals: false
40 ConstructorInitializerAllOnOneLineOrOnePerLine: true
41 ConstructorInitializerIndentWidth: 8
42 ContinuationIndentWidth: 8
43 Cpp11BracedListStyle: false
44 DerivePointerAlignment: false
46 EmptyLineBeforeAccessModifier: LogicalBlock
47 FixNamespaceComments: true
49 - 'cds_lfht_for_each_entry'
50 - 'cds_lfht_for_each_entry_safe'
51 - 'cds_lfht_for_each_duplicate'
52 - 'cds_list_for_each_entry'
53 - 'cds_list_for_each_entry_safe'
54 - 'for_each_action_mutable'
55 - 'for_each_action_const'
56 - 'cds_wfs_for_each_blocking_safe'
58 IncludeBlocks: Regroup
62 - Regex: '<common/.*>'
66 - Regex: '<vendor/.*>'
71 IncludeIsMainRegex: '(Test)?$'
72 IndentCaseLabels: false
73 IndentPPDirectives: None
75 IndentWrappedFunctionNames: false
76 KeepEmptyLinesAtTheStartOfBlocks: false
79 MaxEmptyLinesToKeep: 1
80 NamespaceIndentation: None
82 # Taken from git's rules
83 PenaltyBreakAssignment: 10
84 PenaltyBreakBeforeFirstCallParameter: 30
85 PenaltyBreakComment: 10
86 PenaltyBreakString: 10
87 PenaltyExcessCharacter: 100
88 PenaltyReturnTypeOnItsOwnLine: 60
90 PointerAlignment: Right
91 ReferenceAlignment: Left
94 SpaceAfterCStyleCast: true
95 SpaceBeforeAssignmentOperators: true
96 SpaceBeforeParens: ControlStatements
97 SpaceInEmptyParentheses: false
98 SpacesBeforeTrailingComments: 1
99 SpacesInContainerLiterals: false
100 SpacesInCStyleCastParentheses: false
101 SpacesInParentheses: false
102 SpacesInSquareBrackets: false
106 QualifierAlignment: Left