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'
55 - 'for_each_action_mutable'
56 - 'for_each_action_const'
57 - 'cds_wfs_for_each_blocking_safe'
59 IncludeBlocks: Regroup
63 - Regex: '<common/.*>'
67 - Regex: '<vendor/.*>'
72 IncludeIsMainRegex: '(Test)?$'
73 IndentCaseLabels: false
74 IndentPPDirectives: None
76 IndentWrappedFunctionNames: false
77 KeepEmptyLinesAtTheStartOfBlocks: false
80 MaxEmptyLinesToKeep: 1
81 NamespaceIndentation: None
83 # Taken from git's rules
84 PenaltyBreakAssignment: 10
85 PenaltyBreakBeforeFirstCallParameter: 30
86 PenaltyBreakComment: 10
87 PenaltyBreakString: 10
88 PenaltyExcessCharacter: 100
89 PenaltyReturnTypeOnItsOwnLine: 60
91 PointerAlignment: Right
92 ReferenceAlignment: Left
95 SpaceAfterCStyleCast: true
96 SpaceBeforeAssignmentOperators: true
97 SpaceBeforeParens: ControlStatements
98 SpaceInEmptyParentheses: false
99 SpacesBeforeTrailingComments: 1
100 SpacesInContainerLiterals: false
101 SpacesInCStyleCastParentheses: false
102 SpacesInParentheses: false
103 SpacesInSquareBrackets: false