]> git.proxmox.com Git - efi-boot-shim.git/blame - .clang-format
dbx: generate our own UUID
[efi-boot-shim.git] / .clang-format
CommitLineData
031e5cce
SM
1---
2Language: Cpp
3AccessModifierOffset: -4
4AlignAfterOpenBracket: Align
5AlignConsecutiveMacros: true
6AlignConsecutiveAssignments: false
7AlignConsecutiveBitFields: false
8AlignConsecutiveDeclarations: false
9AlignEscapedNewlines: Left
10AlignOperands: AlignAfterOperator
11AlignTrailingComments: true
12AllowAllArgumentsOnNextLine: true
13AllowAllConstructorInitializersOnNextLine: true
14AllowAllParametersOfDeclarationOnNextLine: false
15AllowShortEnumsOnASingleLine: false
16AllowShortBlocksOnASingleLine: Never
17AllowShortCaseLabelsOnASingleLine: false
18AllowShortFunctionsOnASingleLine: None
19AllowShortLambdasOnASingleLine: All
20AllowShortIfStatementsOnASingleLine: Never
21AllowShortLoopsOnASingleLine: false
22AlwaysBreakAfterDefinitionReturnType: All
23AlwaysBreakAfterReturnType: AllDefinitions
24AlwaysBreakBeforeMultilineStrings: false
25AlwaysBreakTemplateDeclarations: MultiLine
26BinPackArguments: true
27BinPackParameters: true
28BraceWrapping:
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
47BreakBeforeBinaryOperators: None
48BreakBeforeBraces: Linux
49BreakBeforeInheritanceComma: false
50BreakInheritanceList: BeforeColon
51BreakBeforeTernaryOperators: true
52BreakConstructorInitializersBeforeComma: false
53BreakConstructorInitializers: BeforeColon
54BreakAfterJavaFieldAnnotations: false
55BreakStringLiterals: false
56ColumnLimit: 80
57CommentPragmas: '^ IWYU pragma:'
58CompactNamespaces: false
59ConstructorInitializerAllOnOneLineOrOnePerLine: false
60ConstructorInitializerIndentWidth: 8
61ContinuationIndentWidth: 8
62Cpp11BracedListStyle: false
63DeriveLineEnding: true
64DerivePointerAlignment: false
65DisableFormat: false
66ExperimentalAutoDetectBinPacking: false
67FixNamespaceComments: true
68ForEachMacros:
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
75IncludeBlocks: Preserve
76IncludeCategories:
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
86IncludeIsMainRegex: '(Test)?$'
87IncludeIsMainSourceRegex: ''
88IndentCaseLabels: false
89IndentCaseBlocks: false
90IndentGotoLabels: false
91IndentPPDirectives: None
92IndentExternBlock: AfterExternBlock
93IndentWidth: 8
94IndentWrappedFunctionNames: false
95InsertTrailingCommas: None
96JavaScriptQuotes: Leave
97JavaScriptWrapImports: true
98KeepEmptyLinesAtTheStartOfBlocks: false
99MacroBlockBegin: ''
100MacroBlockEnd: ''
101MaxEmptyLinesToKeep: 1
102NamespaceIndentation: None
103ObjCBinPackProtocolList: Auto
104ObjCBlockIndentWidth: 8
105ObjCBreakBeforeNestedBlockParam: true
106ObjCSpaceAfterProperty: true
107ObjCSpaceBeforeProtocolList: true
108PenaltyBreakAssignment: 2
109PenaltyBreakBeforeFirstCallParameter: 30
110PenaltyBreakComment: 10
111PenaltyBreakFirstLessLess: 0
112PenaltyBreakString: 10
113PenaltyBreakTemplateDeclaration: 10
114PenaltyExcessCharacter: 100
115PenaltyReturnTypeOnItsOwnLine: 60
116PointerAlignment: Right
117ReflowComments: false
118SortIncludes: true
119SortUsingDeclarations: true
120SpaceAfterCStyleCast: false
121SpaceAfterLogicalNot: false
122SpaceAfterTemplateKeyword: true
123SpaceBeforeAssignmentOperators: true
124SpaceBeforeCpp11BracedList: false
125SpaceBeforeCtorInitializerColon: true
126SpaceBeforeInheritanceColon: true
127SpaceBeforeParens: ControlStatements
128SpaceBeforeRangeBasedForLoopColon: true
129SpaceInEmptyBlock: false
130SpaceInEmptyParentheses: false
131SpacesBeforeTrailingComments: 1
132SpacesInAngles: false
133SpacesInConditionalStatement: false
134SpacesInContainerLiterals: false
135SpacesInCStyleCastParentheses: false
136SpacesInParentheses: false
137SpacesInSquareBrackets: false
138SpaceBeforeSquareBrackets: false
139Standard: c++03
140StatementMacros:
141 - ALLOCFUNC
142 - NONNULL
143TabWidth: 8
144UseCRLF: false
145UseTab: AlignWithSpaces
146WhitespaceSensitiveMacros:
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...