Commit | Line | Data |
---|---|---|
47aa4f7b | 1 | AccessModifierOffset: -8 |
20364ea3 | 2 | AlignAfterOpenBracket: Align |
3aa937ab JG |
3 | AlignConsecutiveAssignments: false |
4 | AlignConsecutiveDeclarations: false | |
20364ea3 | 5 | AlignConsecutiveMacros: Consecutive |
3aa937ab | 6 | AlignEscapedNewlines: Left |
05ba77bc | 7 | AlignOperands: false |
3aa937ab | 8 | AlignTrailingComments: false |
47aa4f7b | 9 | AllowAllConstructorInitializersOnNextLine: true |
3aa937ab JG |
10 | AllowShortBlocksOnASingleLine: false |
11 | AllowShortCaseLabelsOnASingleLine: false | |
12 | AllowShortFunctionsOnASingleLine: None | |
13 | AllowShortIfStatementsOnASingleLine: false | |
14 | AllowShortLoopsOnASingleLine: false | |
15 | AlwaysBreakAfterReturnType: None | |
16 | AlwaysBreakBeforeMultilineStrings: false | |
47aa4f7b | 17 | AlwaysBreakTemplateDeclarations: Yes |
20364ea3 | 18 | BinPackArguments: false |
3aa937ab | 19 | BinPackParameters: false |
f250b40e | 20 | BitFieldColonSpacing: None |
1847c92b | 21 | BreakBeforeBraces: Custom |
47aa4f7b | 22 | BreakConstructorInitializers: AfterColon |
3aa937ab JG |
23 | BraceWrapping: |
24 | AfterControlStatement: false | |
25 | AfterEnum: false | |
26 | AfterFunction: true | |
47aa4f7b | 27 | AfterNamespace: false |
3aa937ab JG |
28 | AfterStruct: false |
29 | AfterUnion: false | |
30 | AfterExternBlock: false | |
1847c92b | 31 | AfterCaseLabel: true |
3aa937ab JG |
32 | BeforeCatch: false |
33 | BeforeElse: false | |
34 | IndentBraces: false | |
35 | SplitEmptyFunction: true | |
36 | BreakBeforeBinaryOperators: None | |
3aa937ab | 37 | BreakBeforeTernaryOperators: false |
47aa4f7b | 38 | BreakConstructorInitializers: AfterColon |
3aa937ab | 39 | BreakStringLiterals: false |
47aa4f7b JG |
40 | ColumnLimit: 100 |
41 | ConstructorInitializerAllOnOneLineOrOnePerLine: true | |
42 | ConstructorInitializerIndentWidth: 8 | |
20364ea3 JG |
43 | ContinuationIndentWidth: 8 |
44 | Cpp11BracedListStyle: false | |
3aa937ab JG |
45 | DerivePointerAlignment: false |
46 | DisableFormat: false | |
47aa4f7b | 47 | EmptyLineBeforeAccessModifier: LogicalBlock |
20364ea3 | 48 | FixNamespaceComments: true |
3aa937ab JG |
49 | ForEachMacros: |
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' | |
2460203a FD |
55 | - 'for_each_action_mutable' |
56 | - 'for_each_action_const' | |
f40b76ae | 57 | - 'cds_wfs_for_each_blocking_safe' |
3aa937ab | 58 | |
20364ea3 | 59 | IncludeBlocks: Regroup |
3aa937ab | 60 | IncludeCategories: |
20364ea3 JG |
61 | - Regex: '".*"' |
62 | Priority: 0 | |
63 | - Regex: '<common/.*>' | |
3aa937ab | 64 | Priority: 1 |
20364ea3 JG |
65 | - Regex: '<lttng/.*>' |
66 | Priority: 2 | |
67 | - Regex: '<vendor/.*>' | |
68 | Priority: 3 | |
69 | - Regex: '<.*>' | |
70 | Priority: 9 | |
71 | ||
3aa937ab JG |
72 | IncludeIsMainRegex: '(Test)?$' |
73 | IndentCaseLabels: false | |
74 | IndentPPDirectives: None | |
75 | IndentWidth: 8 | |
76 | IndentWrappedFunctionNames: false | |
77 | KeepEmptyLinesAtTheStartOfBlocks: false | |
78 | MacroBlockBegin: '' | |
79 | MacroBlockEnd: '' | |
80 | MaxEmptyLinesToKeep: 1 | |
47aa4f7b | 81 | NamespaceIndentation: None |
3aa937ab JG |
82 | |
83 | # Taken from git's rules | |
84 | PenaltyBreakAssignment: 10 | |
85 | PenaltyBreakBeforeFirstCallParameter: 30 | |
86 | PenaltyBreakComment: 10 | |
87 | PenaltyBreakString: 10 | |
88 | PenaltyExcessCharacter: 100 | |
89 | PenaltyReturnTypeOnItsOwnLine: 60 | |
90 | ||
91 | PointerAlignment: Right | |
47aa4f7b | 92 | ReferenceAlignment: Left |
3aa937ab JG |
93 | ReflowComments: true |
94 | SortIncludes: true | |
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 | |
104 | Standard: Cpp11 | |
105 | TabWidth: 8 | |
106 | UseTab: Always | |
107 | ... |