]> git.proxmox.com Git - efi-boot-shim.git/blob - .clang-format
Clean up better after build. Closes: #1046268
[efi-boot-shim.git] / .clang-format
1 ---
2 Language: Cpp
3 AccessModifierOffset: -4
4 AlignAfterOpenBracket: Align
5 AlignConsecutiveMacros: true
6 AlignConsecutiveAssignments: false
7 AlignConsecutiveBitFields: false
8 AlignConsecutiveDeclarations: false
9 AlignEscapedNewlines: Left
10 AlignOperands: AlignAfterOperator
11 AlignTrailingComments: true
12 AllowAllArgumentsOnNextLine: true
13 AllowAllConstructorInitializersOnNextLine: true
14 AllowAllParametersOfDeclarationOnNextLine: false
15 AllowShortEnumsOnASingleLine: false
16 AllowShortBlocksOnASingleLine: Never
17 AllowShortCaseLabelsOnASingleLine: false
18 AllowShortFunctionsOnASingleLine: None
19 AllowShortLambdasOnASingleLine: All
20 AllowShortIfStatementsOnASingleLine: Never
21 AllowShortLoopsOnASingleLine: false
22 AlwaysBreakAfterDefinitionReturnType: All
23 AlwaysBreakAfterReturnType: AllDefinitions
24 AlwaysBreakBeforeMultilineStrings: false
25 AlwaysBreakTemplateDeclarations: MultiLine
26 BinPackArguments: true
27 BinPackParameters: true
28 BraceWrapping:
29 AfterCaseLabel: false
30 AfterClass: false
31 AfterControlStatement: Never
32 AfterEnum: false
33 AfterFunction: true
34 AfterNamespace: true
35 AfterObjCDeclaration: false
36 AfterStruct: false
37 AfterUnion: false
38 AfterExternBlock: false
39 BeforeCatch: false
40 BeforeElse: false
41 BeforeLambdaBody: false
42 BeforeWhile: false
43 IndentBraces: false
44 SplitEmptyFunction: true
45 SplitEmptyRecord: true
46 SplitEmptyNamespace: true
47 BreakBeforeBinaryOperators: None
48 BreakBeforeBraces: Linux
49 BreakBeforeInheritanceComma: false
50 BreakInheritanceList: BeforeColon
51 BreakBeforeTernaryOperators: true
52 BreakConstructorInitializersBeforeComma: false
53 BreakConstructorInitializers: BeforeColon
54 BreakAfterJavaFieldAnnotations: false
55 BreakStringLiterals: false
56 ColumnLimit: 80
57 CommentPragmas: '^ IWYU pragma:'
58 CompactNamespaces: false
59 ConstructorInitializerAllOnOneLineOrOnePerLine: false
60 ConstructorInitializerIndentWidth: 8
61 ContinuationIndentWidth: 8
62 Cpp11BracedListStyle: false
63 DeriveLineEnding: true
64 DerivePointerAlignment: false
65 DisableFormat: false
66 ExperimentalAutoDetectBinPacking: false
67 FixNamespaceComments: true
68 ForEachMacros:
69 - certlist_for_each_certentry
70 - certentry_for_each_cert
71 - list_for_each
72 - list_for_each_safe
73 - list_for_each_prev
74 - list_for_each_prev_safe
75 IncludeBlocks: Preserve
76 IncludeCategories:
77 - Regex: '.*'
78 Priority: 1
79 SortPriority: 0
80 - Regex: '^(<|"(gtest|gmock|isl|json)/)'
81 Priority: 3
82 SortPriority: 0
83 - Regex: '.*'
84 Priority: 1
85 SortPriority: 0
86 IncludeIsMainRegex: '(Test)?$'
87 IncludeIsMainSourceRegex: ''
88 IndentCaseLabels: false
89 IndentCaseBlocks: false
90 IndentGotoLabels: false
91 IndentPPDirectives: None
92 IndentExternBlock: AfterExternBlock
93 IndentWidth: 8
94 IndentWrappedFunctionNames: false
95 InsertTrailingCommas: None
96 JavaScriptQuotes: Leave
97 JavaScriptWrapImports: true
98 KeepEmptyLinesAtTheStartOfBlocks: false
99 MacroBlockBegin: ''
100 MacroBlockEnd: ''
101 MaxEmptyLinesToKeep: 1
102 NamespaceIndentation: None
103 ObjCBinPackProtocolList: Auto
104 ObjCBlockIndentWidth: 8
105 ObjCBreakBeforeNestedBlockParam: true
106 ObjCSpaceAfterProperty: true
107 ObjCSpaceBeforeProtocolList: true
108 PenaltyBreakAssignment: 2
109 PenaltyBreakBeforeFirstCallParameter: 30
110 PenaltyBreakComment: 10
111 PenaltyBreakFirstLessLess: 0
112 PenaltyBreakString: 10
113 PenaltyBreakTemplateDeclaration: 10
114 PenaltyExcessCharacter: 100
115 PenaltyReturnTypeOnItsOwnLine: 60
116 PointerAlignment: Right
117 ReflowComments: false
118 SortIncludes: true
119 SortUsingDeclarations: true
120 SpaceAfterCStyleCast: false
121 SpaceAfterLogicalNot: false
122 SpaceAfterTemplateKeyword: true
123 SpaceBeforeAssignmentOperators: true
124 SpaceBeforeCpp11BracedList: false
125 SpaceBeforeCtorInitializerColon: true
126 SpaceBeforeInheritanceColon: true
127 SpaceBeforeParens: ControlStatements
128 SpaceBeforeRangeBasedForLoopColon: true
129 SpaceInEmptyBlock: false
130 SpaceInEmptyParentheses: false
131 SpacesBeforeTrailingComments: 1
132 SpacesInAngles: false
133 SpacesInConditionalStatement: false
134 SpacesInContainerLiterals: false
135 SpacesInCStyleCastParentheses: false
136 SpacesInParentheses: false
137 SpacesInSquareBrackets: false
138 SpaceBeforeSquareBrackets: false
139 Standard: c++03
140 StatementMacros:
141 - ALLOCFUNC
142 - NONNULL
143 TabWidth: 8
144 UseCRLF: false
145 UseTab: AlignWithSpaces
146 WhitespaceSensitiveMacros:
147 - check_size
148 - __CONCAT
149 - __CONCAT3
150 - crypterr
151 - dhexdump
152 - dhexdumpat
153 - dhexdumpf
154 - dprint
155 - LogHexdump
156 - LogError
157 - perror
158 - STRINGIZE
159 - vdprint
160 ...