Debian Codegraph @

.clang-format

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