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 BreakBeforeBraces: Custom
21 BreakConstructorInitializers: AfterColon
23 AfterControlStatement: false
29 AfterExternBlock: false
34 SplitEmptyFunction: true
35 BreakBeforeBinaryOperators: None
36 BreakBeforeTernaryOperators: false
37 BreakConstructorInitializers: AfterColon
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'
55 IncludeBlocks: Regroup
59 - Regex: '<common/.*>'
63 - Regex: '<vendor/.*>'
68 IncludeIsMainRegex: '(Test)?$'
69 IndentCaseLabels: false
70 IndentPPDirectives: None
72 IndentWrappedFunctionNames: false
73 KeepEmptyLinesAtTheStartOfBlocks: false
76 MaxEmptyLinesToKeep: 1
77 NamespaceIndentation: None
79 # Taken from git's rules
80 PenaltyBreakAssignment: 10
81 PenaltyBreakBeforeFirstCallParameter: 30
82 PenaltyBreakComment: 10
83 PenaltyBreakString: 10
84 PenaltyExcessCharacter: 100
85 PenaltyReturnTypeOnItsOwnLine: 60
87 PointerAlignment: Right
88 ReferenceAlignment: Left
91 SpaceAfterCStyleCast: true
92 SpaceBeforeAssignmentOperators: true
93 SpaceBeforeParens: ControlStatements
94 SpaceInEmptyParentheses: false
95 SpacesBeforeTrailingComments: 1
96 SpacesInContainerLiterals: false
97 SpacesInCStyleCastParentheses: false
98 SpacesInParentheses: false
99 SpacesInSquareBrackets: false