2 AccessModifierOffset: -4
3 AlignAfterOpenBracket: Align
4 AlignArrayOfStructures: None
5 AlignConsecutiveAssignments: None
6 AlignConsecutiveDeclarations: None
7 AlignConsecutiveMacros: Consecutive
8 AlignEscapedNewlines: Right
10 AlignTrailingComments: true
11 AllowAllArgumentsOnNextLine: false
12 AllowAllConstructorInitializersOnNextLine: false
13 AllowAllParametersOfDeclarationOnNextLine: false
14 AllowShortBlocksOnASingleLine: Never
15 AllowShortCaseLabelsOnASingleLine: false
16 AllowShortEnumsOnASingleLine: false
17 AllowShortFunctionsOnASingleLine: None
18 AllowShortIfStatementsOnASingleLine: Never
19 AllowShortLambdasOnASingleLine: None
20 AllowShortLoopsOnASingleLine: false
21 AlwaysBreakAfterReturnType: None
22 AlwaysBreakBeforeMultilineStrings: false
23 AlwaysBreakTemplateDeclarations: Yes
27 'BT_ASSERT_COND_DEV_FUNC',
29 'BT_CTF_ASSERT_PRE_FUNC',
35 'YY_ATTRIBUTE_UNUSED',
38 BinPackArguments: true
39 BinPackParameters: true
43 AfterControlStatement: Never
49 AfterExternBlock: false
52 BeforeLambdaBody: false
54 SplitEmptyFunction: true
55 SplitEmptyRecord: true
56 SplitEmptyNamespace: true
57 BreakBeforeBinaryOperators: None
58 BreakBeforeBraces: Custom
59 BreakBeforeTernaryOperators: false
60 BreakConstructorInitializers: AfterColon
61 BreakInheritanceList: AfterColon
62 BreakStringLiterals: false
64 CompactNamespaces: false
65 ConstructorInitializerAllOnOneLineOrOnePerLine: false
66 ConstructorInitializerIndentWidth: 4
67 ContinuationIndentWidth: 4
68 Cpp11BracedListStyle: true
69 DeriveLineEnding: false
70 DerivePointerAlignment: false
72 EmptyLineBeforeAccessModifier: Always
73 FixNamespaceComments: true
76 'bt_list_for_each_entry',
77 'bt_list_for_each_entry_reverse',
78 'bt_list_for_each_entry_safe',
79 'bt_list_for_each_prev',
80 'bt_list_for_each_prev_safe',
82 IncludeBlocks: Regroup
84 # Babeltrace 2 public headers
85 - Regex: '^<babeltrace2/.+>$'
94 - Regex: '^"(logging\.hpp|logging/comp-logging\.h|logging/log\.h)"$'
97 - Regex: '^"(argpar|autodisc|common|compat|cpp-common|ctfser|fd-cache|param-parse|py-common|logging|string-format)/.+"$'
99 # Plugins common headers
100 - Regex: '^"plugins/common/.+"$'
103 - Regex: '^"(tap/)?tap\.h"$'
105 # The rest (local headers)
108 IncludeIsMainRegex: "please_dont_do_that"
109 IndentAccessModifiers: false
110 IndentCaseBlocks: false
111 IndentCaseLabels: false
112 IndentExternBlock: NoIndent
113 IndentGotoLabels: false
114 IndentPPDirectives: AfterHash
116 IndentWrappedFunctionNames: false
117 InsertTrailingCommas: None
118 KeepEmptyLinesAtTheStartOfBlocks: false
119 LambdaBodyIndentation: Signature
121 MaxEmptyLinesToKeep: 1
122 NamespaceIndentation: None
124 PointerAlignment: Right
125 ReferenceAlignment: Left
126 ReflowComments: false
127 SortIncludes: CaseInsensitive
128 SortUsingDeclarations: false
129 SpaceAfterCStyleCast: true
130 SpaceAfterLogicalNot: false
131 SpaceAfterTemplateKeyword: true
132 SpaceAroundPointerQualifiers: Both
133 SpaceBeforeAssignmentOperators: true
134 SpaceBeforeCaseColon: false
135 SpaceBeforeCpp11BracedList: true
136 SpaceBeforeCtorInitializerColon: true
137 SpaceBeforeInheritanceColon: true
138 SpaceBeforeParens: ControlStatements
139 SpaceBeforeRangeBasedForLoopColon: true
140 SpaceBeforeSquareBrackets: false
141 SpaceInEmptyBlock: true
142 SpaceInEmptyParentheses: false
143 SpacesBeforeTrailingComments: 1
144 SpacesInAngles: Never
145 SpacesInConditionalStatement: false
146 SpacesInContainerLiterals: false
147 SpacesInCStyleCastParentheses: false
148 SpacesInParentheses: false
149 SpacesInSquareBrackets: false