Commit | Line | Data |
---|---|---|
3aa937ab JG |
1 | AlignAfterOpenBracket: DontAlign |
2 | AlignConsecutiveAssignments: false | |
3 | AlignConsecutiveDeclarations: false | |
4 | AlignEscapedNewlines: Left | |
05ba77bc | 5 | AlignOperands: false |
3aa937ab JG |
6 | AlignTrailingComments: false |
7 | AllowShortBlocksOnASingleLine: false | |
8 | AllowShortCaseLabelsOnASingleLine: false | |
9 | AllowShortFunctionsOnASingleLine: None | |
10 | AllowShortIfStatementsOnASingleLine: false | |
11 | AllowShortLoopsOnASingleLine: false | |
12 | AlwaysBreakAfterReturnType: None | |
13 | AlwaysBreakBeforeMultilineStrings: false | |
14 | BinPackArguments: true | |
15 | BinPackParameters: false | |
1847c92b | 16 | BreakBeforeBraces: Custom |
3aa937ab JG |
17 | BraceWrapping: |
18 | AfterControlStatement: false | |
19 | AfterEnum: false | |
20 | AfterFunction: true | |
21 | AfterNamespace: true | |
22 | AfterStruct: false | |
23 | AfterUnion: false | |
24 | AfterExternBlock: false | |
1847c92b | 25 | AfterCaseLabel: true |
3aa937ab JG |
26 | BeforeCatch: false |
27 | BeforeElse: false | |
28 | IndentBraces: false | |
29 | SplitEmptyFunction: true | |
30 | BreakBeforeBinaryOperators: None | |
3aa937ab JG |
31 | BreakBeforeTernaryOperators: false |
32 | BreakStringLiterals: false | |
33 | ColumnLimit: 80 | |
34 | ContinuationIndentWidth: 16 | |
35 | DerivePointerAlignment: false | |
36 | DisableFormat: false | |
37 | ForEachMacros: | |
38 | - 'cds_lfht_for_each_entry' | |
39 | - 'cds_lfht_for_each_entry_safe' | |
40 | - 'cds_lfht_for_each_duplicate' | |
41 | - 'cds_list_for_each_entry' | |
42 | - 'cds_list_for_each_entry_safe' | |
43 | ||
44 | IncludeBlocks: Preserve | |
45 | IncludeCategories: | |
46 | - Regex: '.*' | |
47 | Priority: 1 | |
48 | IncludeIsMainRegex: '(Test)?$' | |
49 | IndentCaseLabels: false | |
50 | IndentPPDirectives: None | |
51 | IndentWidth: 8 | |
52 | IndentWrappedFunctionNames: false | |
53 | KeepEmptyLinesAtTheStartOfBlocks: false | |
54 | MacroBlockBegin: '' | |
55 | MacroBlockEnd: '' | |
56 | MaxEmptyLinesToKeep: 1 | |
57 | ||
58 | # Taken from git's rules | |
59 | PenaltyBreakAssignment: 10 | |
60 | PenaltyBreakBeforeFirstCallParameter: 30 | |
61 | PenaltyBreakComment: 10 | |
62 | PenaltyBreakString: 10 | |
63 | PenaltyExcessCharacter: 100 | |
64 | PenaltyReturnTypeOnItsOwnLine: 60 | |
65 | ||
66 | PointerAlignment: Right | |
67 | ReflowComments: true | |
68 | SortIncludes: true | |
69 | SpaceAfterCStyleCast: true | |
70 | SpaceBeforeAssignmentOperators: true | |
71 | SpaceBeforeParens: ControlStatements | |
72 | SpaceInEmptyParentheses: false | |
73 | SpacesBeforeTrailingComments: 1 | |
74 | SpacesInContainerLiterals: false | |
75 | SpacesInCStyleCastParentheses: false | |
76 | SpacesInParentheses: false | |
77 | SpacesInSquareBrackets: false | |
78 | Standard: Cpp11 | |
79 | TabWidth: 8 | |
80 | UseTab: Always | |
81 | ... |