Fix: lib: add NULL check for destroy_listeners in destroy_component_class
[babeltrace.git] / .clang-format
... / ...
CommitLineData
1# For clang-format 13
2AccessModifierOffset: -4
3AlignAfterOpenBracket: Align
4AlignArrayOfStructures: None
5AlignConsecutiveAssignments: None
6AlignConsecutiveDeclarations: None
7AlignConsecutiveMacros: Consecutive
8AlignEscapedNewlines: Right
9AlignOperands: Align
10AlignTrailingComments: true
11AllowAllArgumentsOnNextLine: false
12AllowAllConstructorInitializersOnNextLine: false
13AllowAllParametersOfDeclarationOnNextLine: false
14AllowShortBlocksOnASingleLine: Never
15AllowShortCaseLabelsOnASingleLine: false
16AllowShortEnumsOnASingleLine: false
17AllowShortFunctionsOnASingleLine: None
18AllowShortIfStatementsOnASingleLine: Never
19AllowShortLambdasOnASingleLine: None
20AllowShortLoopsOnASingleLine: false
21AlwaysBreakAfterReturnType: None
22AlwaysBreakBeforeMultilineStrings: false
23AlwaysBreakTemplateDeclarations: Yes
24AttributeMacros: [
25 '_BT_LOG_PRINTFLIKE',
26 'ARGPAR_HIDDEN',
27 'BT_ASSERT_COND_DEV_FUNC',
28 'BT_ASSERT_DBG_FUNC',
29 'BT_CTF_ASSERT_PRE_FUNC',
30 'BT_EXTERN_C',
31 'BT_HIDDEN',
32 'SWIGEXPORT',
33 'SWIGUNUSED',
34 'YY_ATTRIBUTE_PURE',
35 'YY_ATTRIBUTE_UNUSED',
36 'yynoreturn',
37]
38BinPackArguments: true
39BinPackParameters: true
40BraceWrapping:
41 AfterCaseLabel: true
42 AfterClass: true
43 AfterControlStatement: Never
44 AfterEnum: true
45 AfterFunction: true
46 AfterNamespace: false
47 AfterStruct: true
48 AfterUnion: true
49 AfterExternBlock: false
50 BeforeCatch: false
51 BeforeElse: false
52 BeforeLambdaBody: false
53 BeforeWhile: false
54 SplitEmptyFunction: true
55 SplitEmptyRecord: true
56 SplitEmptyNamespace: true
57BreakBeforeBinaryOperators: None
58BreakBeforeBraces: Custom
59BreakBeforeTernaryOperators: false
60BreakConstructorInitializers: AfterColon
61BreakInheritanceList: AfterColon
62BreakStringLiterals: false
63ColumnLimit: 100
64CompactNamespaces: false
65ConstructorInitializerAllOnOneLineOrOnePerLine: false
66ConstructorInitializerIndentWidth: 4
67ContinuationIndentWidth: 4
68Cpp11BracedListStyle: true
69DeriveLineEnding: false
70DerivePointerAlignment: false
71DisableFormat: false
72EmptyLineBeforeAccessModifier: Always
73FixNamespaceComments: true
74ForEachMacros: [
75 'bt_list_for_each',
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',
81]
82IncludeBlocks: Preserve
83IndentAccessModifiers: false
84IndentCaseBlocks: false
85IndentCaseLabels: false
86IndentExternBlock: NoIndent
87IndentGotoLabels: false
88IndentPPDirectives: AfterHash
89IndentWidth: 4
90IndentWrappedFunctionNames: false
91InsertTrailingCommas: None
92KeepEmptyLinesAtTheStartOfBlocks: false
93LambdaBodyIndentation: Signature
94Language: Cpp
95MaxEmptyLinesToKeep: 1
96NamespaceIndentation: None
97PPIndentWidth: 4
98PointerAlignment: Right
99ReferenceAlignment: Left
100ReflowComments: false
101SortIncludes: false
102SortUsingDeclarations: false
103SpaceAfterCStyleCast: true
104SpaceAfterLogicalNot: false
105SpaceAfterTemplateKeyword: true
106SpaceAroundPointerQualifiers: Both
107SpaceBeforeAssignmentOperators: true
108SpaceBeforeCaseColon: false
109SpaceBeforeCpp11BracedList: true
110SpaceBeforeCtorInitializerColon: true
111SpaceBeforeInheritanceColon: true
112SpaceBeforeParens: ControlStatements
113SpaceBeforeRangeBasedForLoopColon: true
114SpaceBeforeSquareBrackets: false
115SpaceInEmptyBlock: true
116SpaceInEmptyParentheses: false
117SpacesBeforeTrailingComments: 1
118SpacesInAngles: Never
119SpacesInConditionalStatement: false
120SpacesInContainerLiterals: false
121SpacesInCStyleCastParentheses: false
122SpacesInParentheses: false
123SpacesInSquareBrackets: false
124Standard: Cpp11
125UseCRLF: false
126UseTab: Never
This page took 0.024497 seconds and 4 git commands to generate.