Fix: lib: pass down API function name to some helpers
[babeltrace.git] / .clang-format
CommitLineData
ff7ea753 1# For clang-format 13
35cbc592
PP
2AccessModifierOffset: -4
3AlignAfterOpenBracket: Align
ff7ea753
PP
4AlignArrayOfStructures: None
5AlignConsecutiveAssignments: None
6AlignConsecutiveDeclarations: None
7AlignConsecutiveMacros: Consecutive
35cbc592 8AlignEscapedNewlines: Right
ff7ea753 9AlignOperands: Align
35cbc592
PP
10AlignTrailingComments: true
11AllowAllArgumentsOnNextLine: false
12AllowAllConstructorInitializersOnNextLine: false
13AllowAllParametersOfDeclarationOnNextLine: false
ff7ea753 14AllowShortBlocksOnASingleLine: Never
35cbc592 15AllowShortCaseLabelsOnASingleLine: false
ff7ea753 16AllowShortEnumsOnASingleLine: false
35cbc592
PP
17AllowShortFunctionsOnASingleLine: None
18AllowShortIfStatementsOnASingleLine: Never
19AllowShortLambdasOnASingleLine: None
20AllowShortLoopsOnASingleLine: false
21AlwaysBreakAfterReturnType: None
22AlwaysBreakBeforeMultilineStrings: false
23AlwaysBreakTemplateDeclarations: Yes
ff7ea753
PP
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]
35cbc592
PP
38BinPackArguments: true
39BinPackParameters: true
35cbc592
PP
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
ff7ea753
PP
57BreakBeforeBinaryOperators: None
58BreakBeforeBraces: Custom
35cbc592
PP
59BreakBeforeTernaryOperators: false
60BreakConstructorInitializers: AfterColon
61BreakInheritanceList: AfterColon
62BreakStringLiterals: false
63ColumnLimit: 100
64CompactNamespaces: false
65ConstructorInitializerAllOnOneLineOrOnePerLine: false
66ConstructorInitializerIndentWidth: 4
67ContinuationIndentWidth: 4
68Cpp11BracedListStyle: true
ff7ea753 69DeriveLineEnding: false
35cbc592
PP
70DerivePointerAlignment: false
71DisableFormat: false
ff7ea753 72EmptyLineBeforeAccessModifier: Always
35cbc592 73FixNamespaceComments: true
ff7ea753
PP
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]
35cbc592 82IncludeBlocks: Preserve
ff7ea753
PP
83IndentAccessModifiers: false
84IndentCaseBlocks: false
35cbc592 85IndentCaseLabels: false
ff7ea753
PP
86IndentExternBlock: NoIndent
87IndentGotoLabels: false
35cbc592
PP
88IndentPPDirectives: AfterHash
89IndentWidth: 4
90IndentWrappedFunctionNames: false
ff7ea753 91InsertTrailingCommas: None
35cbc592 92KeepEmptyLinesAtTheStartOfBlocks: false
ff7ea753 93LambdaBodyIndentation: Signature
35cbc592
PP
94Language: Cpp
95MaxEmptyLinesToKeep: 1
96NamespaceIndentation: None
ff7ea753
PP
97PPIndentWidth: 4
98PointerAlignment: Right
99ReferenceAlignment: Left
35cbc592
PP
100ReflowComments: false
101SortIncludes: false
102SortUsingDeclarations: false
103SpaceAfterCStyleCast: true
104SpaceAfterLogicalNot: false
105SpaceAfterTemplateKeyword: true
ff7ea753 106SpaceAroundPointerQualifiers: Both
35cbc592 107SpaceBeforeAssignmentOperators: true
ff7ea753 108SpaceBeforeCaseColon: false
35cbc592
PP
109SpaceBeforeCpp11BracedList: true
110SpaceBeforeCtorInitializerColon: true
111SpaceBeforeInheritanceColon: true
112SpaceBeforeParens: ControlStatements
113SpaceBeforeRangeBasedForLoopColon: true
ff7ea753
PP
114SpaceBeforeSquareBrackets: false
115SpaceInEmptyBlock: true
35cbc592
PP
116SpaceInEmptyParentheses: false
117SpacesBeforeTrailingComments: 1
ff7ea753
PP
118SpacesInAngles: Never
119SpacesInConditionalStatement: false
35cbc592 120SpacesInContainerLiterals: false
ff7ea753 121SpacesInCStyleCastParentheses: false
35cbc592
PP
122SpacesInParentheses: false
123SpacesInSquareBrackets: false
124Standard: Cpp11
ff7ea753 125UseCRLF: false
35cbc592 126UseTab: Never
This page took 0.029767 seconds and 4 git commands to generate.