Fix: bt2: autodisc: remove thread error while inserting status in map
[babeltrace.git] / .clang-format
1 # For clang-format 13
2 AccessModifierOffset: -4
3 AlignAfterOpenBracket: Align
4 AlignArrayOfStructures: None
5 AlignConsecutiveAssignments: None
6 AlignConsecutiveDeclarations: None
7 AlignConsecutiveMacros: Consecutive
8 AlignEscapedNewlines: Right
9 AlignOperands: Align
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
24 AttributeMacros: [
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 ]
38 BinPackArguments: true
39 BinPackParameters: true
40 BraceWrapping:
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
57 BreakBeforeBinaryOperators: None
58 BreakBeforeBraces: Custom
59 BreakBeforeTernaryOperators: false
60 BreakConstructorInitializers: AfterColon
61 BreakInheritanceList: AfterColon
62 BreakStringLiterals: false
63 ColumnLimit: 100
64 CompactNamespaces: false
65 ConstructorInitializerAllOnOneLineOrOnePerLine: false
66 ConstructorInitializerIndentWidth: 4
67 ContinuationIndentWidth: 4
68 Cpp11BracedListStyle: true
69 DeriveLineEnding: false
70 DerivePointerAlignment: false
71 DisableFormat: false
72 EmptyLineBeforeAccessModifier: Always
73 FixNamespaceComments: true
74 ForEachMacros: [
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 ]
82 IncludeBlocks: Preserve
83 IndentAccessModifiers: false
84 IndentCaseBlocks: false
85 IndentCaseLabels: false
86 IndentExternBlock: NoIndent
87 IndentGotoLabels: false
88 IndentPPDirectives: AfterHash
89 IndentWidth: 4
90 IndentWrappedFunctionNames: false
91 InsertTrailingCommas: None
92 KeepEmptyLinesAtTheStartOfBlocks: false
93 LambdaBodyIndentation: Signature
94 Language: Cpp
95 MaxEmptyLinesToKeep: 1
96 NamespaceIndentation: None
97 PPIndentWidth: 4
98 PointerAlignment: Right
99 ReferenceAlignment: Left
100 ReflowComments: false
101 SortIncludes: false
102 SortUsingDeclarations: false
103 SpaceAfterCStyleCast: true
104 SpaceAfterLogicalNot: false
105 SpaceAfterTemplateKeyword: true
106 SpaceAroundPointerQualifiers: Both
107 SpaceBeforeAssignmentOperators: true
108 SpaceBeforeCaseColon: false
109 SpaceBeforeCpp11BracedList: true
110 SpaceBeforeCtorInitializerColon: true
111 SpaceBeforeInheritanceColon: true
112 SpaceBeforeParens: ControlStatements
113 SpaceBeforeRangeBasedForLoopColon: true
114 SpaceBeforeSquareBrackets: false
115 SpaceInEmptyBlock: true
116 SpaceInEmptyParentheses: false
117 SpacesBeforeTrailingComments: 1
118 SpacesInAngles: Never
119 SpacesInConditionalStatement: false
120 SpacesInContainerLiterals: false
121 SpacesInCStyleCastParentheses: false
122 SpacesInParentheses: false
123 SpacesInSquareBrackets: false
124 Standard: Cpp11
125 UseCRLF: false
126 UseTab: Never
This page took 0.031618 seconds and 4 git commands to generate.