604c57d0cf7e622524a632fa5baba7f444f89ce8
[lttng-tools.git] / .clang-format
1 AccessModifierOffset: -8
2 AlignAfterOpenBracket: Align
3 AlignConsecutiveAssignments: false
4 AlignConsecutiveDeclarations: false
5 AlignConsecutiveMacros: Consecutive
6 AlignEscapedNewlines: Left
7 AlignOperands: false
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
23 BraceWrapping:
24 AfterControlStatement: false
25 AfterEnum: false
26 AfterFunction: true
27 AfterNamespace: false
28 AfterStruct: false
29 AfterUnion: false
30 AfterExternBlock: false
31 AfterCaseLabel: true
32 BeforeCatch: false
33 BeforeElse: false
34 IndentBraces: false
35 SplitEmptyFunction: true
36 BreakBeforeBinaryOperators: None
37 BreakBeforeTernaryOperators: false
38 BreakStringLiterals: false
39 ColumnLimit: 100
40 ConstructorInitializerAllOnOneLineOrOnePerLine: true
41 ConstructorInitializerIndentWidth: 8
42 ContinuationIndentWidth: 8
43 Cpp11BracedListStyle: false
44 DerivePointerAlignment: false
45 DisableFormat: false
46 EmptyLineBeforeAccessModifier: LogicalBlock
47 FixNamespaceComments: true
48 ForEachMacros:
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'
57
58 IncludeBlocks: Regroup
59 IncludeCategories:
60 - Regex: '".*"'
61 Priority: 0
62 - Regex: '<common/.*>'
63 Priority: 1
64 - Regex: '<lttng/.*>'
65 Priority: 2
66 - Regex: '<vendor/.*>'
67 Priority: 3
68 - Regex: '<.*>'
69 Priority: 9
70
71 IncludeIsMainRegex: '(Test)?$'
72 IndentCaseLabels: false
73 IndentPPDirectives: None
74 IndentWidth: 8
75 IndentWrappedFunctionNames: false
76 KeepEmptyLinesAtTheStartOfBlocks: false
77 MacroBlockBegin: ''
78 MacroBlockEnd: ''
79 MaxEmptyLinesToKeep: 1
80 NamespaceIndentation: None
81
82 # Taken from git's rules
83 PenaltyBreakAssignment: 10
84 PenaltyBreakBeforeFirstCallParameter: 30
85 PenaltyBreakComment: 10
86 PenaltyBreakString: 10
87 PenaltyExcessCharacter: 100
88 PenaltyReturnTypeOnItsOwnLine: 60
89
90 PointerAlignment: Right
91 ReferenceAlignment: Left
92 ReflowComments: true
93 SortIncludes: true
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
103 Standard: Cpp11
104 TabWidth: 8
105 UseTab: Always
106 QualifierAlignment: Left
107 ...
This page took 0.034046 seconds and 5 git commands to generate.