Debian Codegraph @

.clang-format

raw
1 ---
2 Language: Cpp
3 AccessModifierOffset: -2
4 AlignAfterOpenBracket: Align
5 AlignArrayOfStructures: None
6 AlignConsecutiveAssignments:
7 Enabled: true
8 AcrossEmptyLines: false
9 AcrossComments: false
10 AlignCompound: false
11 PadOperators: true
12 AlignConsecutiveBitFields:
13 Enabled: false
14 AcrossEmptyLines: false
15 AcrossComments: false
16 AlignCompound: false
17 PadOperators: false
18 AlignConsecutiveDeclarations:
19 Enabled: false
20 AcrossEmptyLines: false
21 AcrossComments: false
22 AlignCompound: false
23 PadOperators: false
24 AlignConsecutiveMacros:
25 Enabled: false
26 AcrossEmptyLines: false
27 AcrossComments: false
28 AlignCompound: false
29 PadOperators: false
30 AlignEscapedNewlines: Left
31 AlignOperands: Align
32 AlignTrailingComments:
33 Kind: Always
34 OverEmptyLines: 0
35 AllowAllArgumentsOnNextLine: true
36 AllowAllParametersOfDeclarationOnNextLine: true
37 AllowShortBlocksOnASingleLine: Never
38 AllowShortCaseLabelsOnASingleLine: false
39 AllowShortEnumsOnASingleLine: true
40 AllowShortFunctionsOnASingleLine: Empty
41 AllowShortIfStatementsOnASingleLine: WithoutElse
42 AllowShortLambdasOnASingleLine: All
43 AllowShortLoopsOnASingleLine: true
44 AlwaysBreakAfterDefinitionReturnType: None
45 AlwaysBreakAfterReturnType: None
46 AlwaysBreakBeforeMultilineStrings: false
47 AlwaysBreakTemplateDeclarations: MultiLine
48 AttributeMacros:
49 - __capability
50 BinPackArguments: true
51 BinPackParameters: true
52 BitFieldColonSpacing: Both
53 BraceWrapping:
54 AfterCaseLabel: false
55 AfterClass: true
56 AfterControlStatement: Never
57 AfterEnum: false
58 AfterExternBlock: false
59 AfterFunction: true
60 AfterNamespace: true
61 AfterObjCDeclaration: false
62 AfterStruct: false
63 AfterUnion: false
64 BeforeCatch: false
65 BeforeElse: false
66 BeforeLambdaBody: false
67 BeforeWhile: false
68 IndentBraces: false
69 SplitEmptyFunction: true
70 SplitEmptyRecord: true
71 SplitEmptyNamespace: true
72 BreakAfterAttributes: Never
73 BreakAfterJavaFieldAnnotations: false
74 BreakArrays: true
75 BreakBeforeBinaryOperators: None
76 BreakBeforeConceptDeclarations: Always
77 BreakBeforeBraces: Linux
78 BreakBeforeInlineASMColon: OnlyMultiline
79 BreakBeforeTernaryOperators: true
80 BreakConstructorInitializers: BeforeColon
81 BreakInheritanceList: BeforeColon
82 BreakStringLiterals: true
83 ColumnLimit: 0
84 CommentPragmas: '^ IWYU pragma:'
85 CompactNamespaces: false
86 ConstructorInitializerIndentWidth: 4
87 ContinuationIndentWidth: 4
88 Cpp11BracedListStyle: true
89 DerivePointerAlignment: true
90 DisableFormat: false
91 EmptyLineAfterAccessModifier: Never
92 EmptyLineBeforeAccessModifier: LogicalBlock
93 ExperimentalAutoDetectBinPacking: false
94 FixNamespaceComments: true
95 ForEachMacros:
96 - foreach
97 - Q_FOREACH
98 - BOOST_FOREACH
99 IfMacros:
100 - KJ_IF_MAYBE
101 IncludeBlocks: Preserve
102 IncludeCategories:
103 - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
104 Priority: 2
105 SortPriority: 0
106 CaseSensitive: false
107 - Regex: '^(<|"(gtest|gmock|isl|json)/)'
108 Priority: 3
109 SortPriority: 0
110 CaseSensitive: false
111 - Regex: '.*'
112 Priority: 1
113 SortPriority: 0
114 CaseSensitive: false
115 IncludeIsMainRegex: '(Test)?$'
116 IncludeIsMainSourceRegex: ''
117 IndentAccessModifiers: false
118 IndentCaseBlocks: false
119 IndentCaseLabels: true
120 IndentExternBlock: AfterExternBlock
121 IndentGotoLabels: true
122 IndentPPDirectives: None
123 IndentRequiresClause: true
124 IndentWidth: 4
125 IndentWrappedFunctionNames: false
126 InsertBraces: false
127 InsertNewlineAtEOF: false
128 InsertTrailingCommas: None
129 IntegerLiteralSeparator:
130 Binary: 0
131 BinaryMinDigits: 0
132 Decimal: 0
133 DecimalMinDigits: 0
134 Hex: 0
135 HexMinDigits: 0
136 JavaScriptQuotes: Leave
137 JavaScriptWrapImports: true
138 KeepEmptyLinesAtTheStartOfBlocks: true
139 LambdaBodyIndentation: Signature
140 LineEnding: DeriveLF
141 MacroBlockBegin: ''
142 MacroBlockEnd: ''
143 MaxEmptyLinesToKeep: 1
144 NamespaceIndentation: None
145 ObjCBinPackProtocolList: Auto
146 ObjCBlockIndentWidth: 2
147 ObjCBreakBeforeNestedBlockParam: true
148 ObjCSpaceAfterProperty: false
149 ObjCSpaceBeforeProtocolList: true
150 PackConstructorInitializers: BinPack
151 PenaltyBreakAssignment: 2
152 PenaltyBreakBeforeFirstCallParameter: 19
153 PenaltyBreakComment: 300
154 PenaltyBreakFirstLessLess: 120
155 PenaltyBreakOpenParenthesis: 0
156 PenaltyBreakString: 1000
157 PenaltyBreakTemplateDeclaration: 10
158 PenaltyExcessCharacter: 1000000
159 PenaltyIndentedWhitespace: 0
160 PenaltyReturnTypeOnItsOwnLine: 60
161 PointerAlignment: Right
162 PPIndentWidth: -1
163 QualifierAlignment: Leave
164 ReferenceAlignment: Pointer
165 ReflowComments: true
166 RemoveBracesLLVM: false
167 RemoveSemicolon: false
168 RequiresClausePosition: OwnLine
169 RequiresExpressionIndentation: OuterScope
170 SeparateDefinitionBlocks: Leave
171 ShortNamespaceLines: 1
172 SortIncludes: Never
173 SortJavaStaticImport: Before
174 SortUsingDeclarations: LexicographicNumeric
175 SpaceAfterCStyleCast: false
176 SpaceAfterLogicalNot: false
177 SpaceAfterTemplateKeyword: true
178 SpaceAroundPointerQualifiers: Default
179 SpaceBeforeAssignmentOperators: true
180 SpaceBeforeCaseColon: false
181 SpaceBeforeCpp11BracedList: false
182 SpaceBeforeCtorInitializerColon: true
183 SpaceBeforeInheritanceColon: true
184 SpaceBeforeParens: ControlStatements
185 SpaceBeforeParensOptions:
186 AfterControlStatements: true
187 AfterForeachMacros: true
188 AfterFunctionDefinitionName: false
189 AfterFunctionDeclarationName: false
190 AfterIfMacros: true
191 AfterOverloadedOperator: false
192 AfterRequiresInClause: false
193 AfterRequiresInExpression: false
194 BeforeNonEmptyParentheses: false
195 SpaceBeforeRangeBasedForLoopColon: true
196 SpaceBeforeSquareBrackets: false
197 SpaceInEmptyBlock: false
198 SpaceInEmptyParentheses: false
199 SpacesBeforeTrailingComments: 1
200 SpacesInAngles: Never
201 SpacesInConditionalStatement: false
202 SpacesInContainerLiterals: true
203 SpacesInCStyleCastParentheses: false
204 SpacesInLineCommentPrefix:
205 Minimum: 1
206 Maximum: -1
207 SpacesInParentheses: false
208 SpacesInSquareBrackets: false
209 Standard: Latest
210 StatementAttributeLikeMacros:
211 - Q_EMIT
212 StatementMacros:
213 - Q_UNUSED
214 - QT_REQUIRE_VERSION
215 TabWidth: 8
216 UseTab: Never
217 WhitespaceSensitiveMacros:
218 - BOOST_PP_STRINGIZE
219 - CF_SWIFT_NAME
220 - NS_SWIFT_NAME
221 - PP_STRINGIZE
222 - STRINGIZE
223 ...
224