| 1 |
Checks: "*,\ |
| 2 |
# not currently a coding convention, but conceivable,\ |
| 3 |
-llvm-include-order,\ |
| 4 |
# currently the coding convention deliberately produces violations of these,\ |
| 5 |
# rules, but it may make sense to reconsider,\ |
| 6 |
-readability-implicit-bool-conversion,\ |
| 7 |
-readability-braces-around-statements,\ |
| 8 |
-readability-named-parameter,\ |
| 9 |
-fuchsia-default-arguments,\ |
| 10 |
-google-readability-todo,\ |
| 11 |
-google-runtime-int,\ |
| 12 |
-cppcoreguidelines-avoid-goto,\ |
| 13 |
-hicpp-avoid-goto, \ |
| 14 |
-cppcoreguidelines-pro-type-member-init,\ |
| 15 |
-cppcoreguidelines-pro-type-static-cast-downcast,\ |
| 16 |
-readability-identifier-naming,\ |
| 17 |
# not applicable,\ |
| 18 |
-fuchsia-default-arguments-calls,\ |
| 19 |
-fuchsia-overloaded-operator,\ |
| 20 |
-fuchsia-statically-constructed-objects,\ |
| 21 |
# not currently a coding convention, C++11-specific, but conceivable,\ |
| 22 |
-modernize-use-nullptr,\ |
| 23 |
-modernize-use-equals-default,\ |
| 24 |
-modernize-deprecated-headers,\ |
| 25 |
# not currently a coding convention, C++11-specific and hard to implement,\ |
| 26 |
-hicpp-no-malloc,\ |
| 27 |
-hicpp-avoid-c-arrays,\ |
| 28 |
-modernize-avoid-c-arrays,\ |
| 29 |
-modernize-pass-by-value,\ |
| 30 |
-modernize-loop-convert,\ |
| 31 |
-modernize-use-auto,\ |
| 32 |
-modernize-use-trailing-return-type,\ |
| 33 |
-modernize-use-using,\ |
| 34 |
-modernize-return-braced-init-list,\ |
| 35 |
-cppcoreguidelines-avoid-c-arrays,\ |
| 36 |
-cppcoreguidelines-no-malloc,\ |
| 37 |
-cppcoreguidelines-owning-memory,\ |
| 38 |
-cppcoreguidelines-pro-type-union-access,\ |
| 39 |
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,\ |
| 40 |
-cppcoreguidelines-pro-bounds-constant-array-index,\ |
| 41 |
-cppcoreguidelines-pro-bounds-pointer-arithmetic,\ |
| 42 |
# not easily possible to implement (maybe replace by specific exclusions),\ |
| 43 |
-cppcoreguidelines-pro-type-vararg,\ |
| 44 |
-cppcoreguidelines-pro-type-reinterpret-cast,\ |
| 45 |
-hicpp-signed-bitwise,\ |
| 46 |
# duplicates,\ |
| 47 |
-google-readability-braces-around-statements,\ |
| 48 |
-cppcoreguidelines-pro-type-cstyle-cast,\ |
| 49 |
-cppcoreguidelines-avoid-magic-numbers,\ |
| 50 |
-readability-magic-numbers,\ |
| 51 |
-hicpp-braces-around-statements,\ |
| 52 |
-hicpp-use-equals-default,\ |
| 53 |
-hicpp-deprecated-headers,\ |
| 54 |
-hicpp-no-assembler,\ |
| 55 |
-hicpp-vararg,\ |
| 56 |
-hicpp-use-auto,\ |
| 57 |
-hicpp-use-nullptr,\ |
| 58 |
-hicpp-no-array-decay,\ |
| 59 |
-hicpp-member-init" |
| 60 |
WarningsAsErrors: '' |
| 61 |
HeaderFilterRegex: '' |
| 62 |
# AnalyzeTemporaryDtors: false |
| 63 |
CheckOptions: |
| 64 |
# - key: cert-dcl59-cpp.HeaderFileExtensions |
| 65 |
# value: h,hh,hpp,hxx |
| 66 |
# - key: cert-err61-cpp.CheckThrowTemporaries |
| 67 |
# value: '1' |
| 68 |
# - key: cert-oop11-cpp.IncludeStyle |
| 69 |
# value: llvm |
| 70 |
# - key: cert-oop11-cpp.UseCERTSemantics |
| 71 |
# value: '1' |
| 72 |
# - key: cppcoreguidelines-pro-bounds-constant-array-index.GslHeader |
| 73 |
# value: '' |
| 74 |
# - key: cppcoreguidelines-pro-bounds-constant-array-index.IncludeStyle |
| 75 |
# value: '0' |
| 76 |
# - key: cppcoreguidelines-pro-type-member-init.IgnoreArrays |
| 77 |
# value: '0' |
| 78 |
# - key: google-build-namespaces.HeaderFileExtensions |
| 79 |
# value: h,hh,hpp,hxx |
| 80 |
# - key: google-global-names-in-headers.HeaderFileExtensions |
| 81 |
# value: h |
| 82 |
# - key: google-readability-braces-around-statements.ShortStatementLines |
| 83 |
# value: '1' |
| 84 |
# - key: google-readability-function-size.BranchThreshold |
| 85 |
# value: '4294967295' |
| 86 |
# - key: google-readability-function-size.LineThreshold |
| 87 |
# value: '4294967295' |
| 88 |
# - key: google-readability-function-size.StatementThreshold |
| 89 |
# value: '800' |
| 90 |
# - key: google-readability-namespace-comments.ShortNamespaceLines |
| 91 |
# value: '10' |
| 92 |
# - key: google-readability-namespace-comments.SpacesBeforeComments |
| 93 |
# value: '2' |
| 94 |
# - key: google-runtime-int.SignedTypePrefix |
| 95 |
# value: int |
| 96 |
# - key: google-runtime-int.TypeSuffix |
| 97 |
# value: '' |
| 98 |
# - key: google-runtime-int.UnsignedTypePrefix |
| 99 |
# value: uint |
| 100 |
# - key: llvm-namespace-comment.ShortNamespaceLines |
| 101 |
# value: '1' |
| 102 |
# - key: llvm-namespace-comment.SpacesBeforeComments |
| 103 |
# value: '1' |
| 104 |
# - key: misc-assert-side-effect.AssertMacros |
| 105 |
# value: assert |
| 106 |
# - key: misc-assert-side-effect.CheckFunctionCalls |
| 107 |
# value: '0' |
| 108 |
# - key: misc-dangling-handle.HandleClasses |
| 109 |
# value: 'std::basic_string_view;std::experimental::basic_string_view' |
| 110 |
# - key: misc-definitions-in-headers.HeaderFileExtensions |
| 111 |
# value: ',h,hh,hpp,hxx' |
| 112 |
# - key: misc-definitions-in-headers.UseHeaderFileExtension |
| 113 |
# value: '1' |
| 114 |
# - key: misc-misplaced-widening-cast.CheckImplicitCasts |
| 115 |
# value: '1' |
| 116 |
# - key: misc-move-constructor-init.IncludeStyle |
| 117 |
# value: llvm |
| 118 |
# - key: misc-move-constructor-init.UseCERTSemantics |
| 119 |
# value: '0' |
| 120 |
# - key: misc-sizeof-expression.WarnOnSizeOfCompareToConstant |
| 121 |
# value: '1' |
| 122 |
# - key: misc-sizeof-expression.WarnOnSizeOfConstant |
| 123 |
# value: '1' |
| 124 |
# - key: misc-sizeof-expression.WarnOnSizeOfThis |
| 125 |
# value: '1' |
| 126 |
# - key: misc-string-constructor.LargeLengthThreshold |
| 127 |
# value: '8388608' |
| 128 |
# - key: misc-string-constructor.WarnOnLargeLength |
| 129 |
# value: '1' |
| 130 |
# - key: misc-suspicious-missing-comma.MaxConcatenatedTokens |
| 131 |
# value: '5' |
| 132 |
# - key: misc-suspicious-missing-comma.RatioThreshold |
| 133 |
# value: '0.200000' |
| 134 |
# - key: misc-suspicious-missing-comma.SizeThreshold |
| 135 |
# value: '5' |
| 136 |
# - key: misc-suspicious-string-compare.StringCompareLikeFunctions |
| 137 |
# value: '' |
| 138 |
# - key: misc-suspicious-string-compare.WarnOnImplicitComparison |
| 139 |
# value: '1' |
| 140 |
# - key: misc-suspicious-string-compare.WarnOnLogicalNotComparison |
| 141 |
# value: '0' |
| 142 |
# - key: misc-throw-by-value-catch-by-reference.CheckThrowTemporaries |
| 143 |
# value: '1' |
| 144 |
# - key: modernize-loop-convert.MaxCopySize |
| 145 |
# value: '16' |
| 146 |
# - key: modernize-loop-convert.MinConfidence |
| 147 |
# value: reasonable |
| 148 |
# - key: modernize-loop-convert.NamingStyle |
| 149 |
# value: CamelCase |
| 150 |
# - key: modernize-pass-by-value.IncludeStyle |
| 151 |
# value: llvm |
| 152 |
# - key: modernize-replace-auto-ptr.IncludeStyle |
| 153 |
# value: llvm |
| 154 |
# - key: modernize-use-nullptr.NullMacros |
| 155 |
# value: 'NULL' |
| 156 |
# - key: performance-faster-string-find.StringLikeClasses |
| 157 |
# value: 'std::basic_string' |
| 158 |
# - key: performance-for-range-copy.WarnOnAllAutoCopies |
| 159 |
# value: '0' |
| 160 |
# - key: readability-braces-around-statements.ShortStatementLines |
| 161 |
# value: '1' |
| 162 |
# - key: readability-function-size.BranchThreshold |
| 163 |
# value: '4294967295' |
| 164 |
# - key: readability-function-size.LineThreshold |
| 165 |
# value: '4294967295' |
| 166 |
# - key: readability-function-size.StatementThreshold |
| 167 |
# value: '800' |
| 168 |
# - key: readability-identifier-naming.AbstractClassCase |
| 169 |
# value: aNy_CasE |
| 170 |
# - key: readability-identifier-naming.AbstractClassPrefix |
| 171 |
# value: '' |
| 172 |
# - key: readability-identifier-naming.AbstractClassSuffix |
| 173 |
# value: '' |
| 174 |
# - key: readability-identifier-naming.ClassCase |
| 175 |
# value: aNy_CasE |
| 176 |
# - key: readability-identifier-naming.ClassConstantCase |
| 177 |
# value: aNy_CasE |
| 178 |
# - key: readability-identifier-naming.ClassConstantPrefix |
| 179 |
# value: '' |
| 180 |
# - key: readability-identifier-naming.ClassConstantSuffix |
| 181 |
# value: '' |
| 182 |
# - key: readability-identifier-naming.ClassMemberCase |
| 183 |
# value: aNy_CasE |
| 184 |
# - key: readability-identifier-naming.ClassMemberPrefix |
| 185 |
# value: '' |
| 186 |
# - key: readability-identifier-naming.ClassMemberSuffix |
| 187 |
# value: '' |
| 188 |
# - key: readability-identifier-naming.ClassMethodCase |
| 189 |
# value: aNy_CasE |
| 190 |
# - key: readability-identifier-naming.ClassMethodPrefix |
| 191 |
# value: '' |
| 192 |
# - key: readability-identifier-naming.ClassMethodSuffix |
| 193 |
# value: '' |
| 194 |
# - key: readability-identifier-naming.ClassPrefix |
| 195 |
# value: '' |
| 196 |
# - key: readability-identifier-naming.ClassSuffix |
| 197 |
# value: '' |
| 198 |
# - key: readability-identifier-naming.ConstantCase |
| 199 |
# value: aNy_CasE |
| 200 |
# - key: readability-identifier-naming.ConstantMemberCase |
| 201 |
# value: aNy_CasE |
| 202 |
# - key: readability-identifier-naming.ConstantMemberPrefix |
| 203 |
# value: '' |
| 204 |
# - key: readability-identifier-naming.ConstantMemberSuffix |
| 205 |
# value: '' |
| 206 |
# - key: readability-identifier-naming.ConstantParameterCase |
| 207 |
# value: aNy_CasE |
| 208 |
# - key: readability-identifier-naming.ConstantParameterPrefix |
| 209 |
# value: '' |
| 210 |
# - key: readability-identifier-naming.ConstantParameterSuffix |
| 211 |
# value: '' |
| 212 |
# - key: readability-identifier-naming.ConstantPrefix |
| 213 |
# value: '' |
| 214 |
# - key: readability-identifier-naming.ConstantSuffix |
| 215 |
# value: '' |
| 216 |
# - key: readability-identifier-naming.ConstexprFunctionCase |
| 217 |
# value: aNy_CasE |
| 218 |
# - key: readability-identifier-naming.ConstexprFunctionPrefix |
| 219 |
# value: '' |
| 220 |
# - key: readability-identifier-naming.ConstexprFunctionSuffix |
| 221 |
# value: '' |
| 222 |
# - key: readability-identifier-naming.ConstexprMethodCase |
| 223 |
# value: aNy_CasE |
| 224 |
# - key: readability-identifier-naming.ConstexprMethodPrefix |
| 225 |
# value: '' |
| 226 |
# - key: readability-identifier-naming.ConstexprMethodSuffix |
| 227 |
# value: '' |
| 228 |
# - key: readability-identifier-naming.ConstexprVariableCase |
| 229 |
# value: aNy_CasE |
| 230 |
# - key: readability-identifier-naming.ConstexprVariablePrefix |
| 231 |
# value: '' |
| 232 |
# - key: readability-identifier-naming.ConstexprVariableSuffix |
| 233 |
# value: '' |
| 234 |
# - key: readability-identifier-naming.EnumCase |
| 235 |
# value: aNy_CasE |
| 236 |
# - key: readability-identifier-naming.EnumConstantCase |
| 237 |
# value: aNy_CasE |
| 238 |
# - key: readability-identifier-naming.EnumConstantPrefix |
| 239 |
# value: '' |
| 240 |
# - key: readability-identifier-naming.EnumConstantSuffix |
| 241 |
# value: '' |
| 242 |
# - key: readability-identifier-naming.EnumPrefix |
| 243 |
# value: '' |
| 244 |
# - key: readability-identifier-naming.EnumSuffix |
| 245 |
# value: '' |
| 246 |
# - key: readability-identifier-naming.FunctionCase |
| 247 |
# value: aNy_CasE |
| 248 |
# - key: readability-identifier-naming.FunctionPrefix |
| 249 |
# value: '' |
| 250 |
# - key: readability-identifier-naming.FunctionSuffix |
| 251 |
# value: '' |
| 252 |
# - key: readability-identifier-naming.GlobalConstantCase |
| 253 |
# value: aNy_CasE |
| 254 |
# - key: readability-identifier-naming.GlobalConstantPrefix |
| 255 |
# value: '' |
| 256 |
# - key: readability-identifier-naming.GlobalConstantSuffix |
| 257 |
# value: '' |
| 258 |
# - key: readability-identifier-naming.GlobalFunctionCase |
| 259 |
# value: aNy_CasE |
| 260 |
# - key: readability-identifier-naming.GlobalFunctionPrefix |
| 261 |
# value: '' |
| 262 |
# - key: readability-identifier-naming.GlobalFunctionSuffix |
| 263 |
# value: '' |
| 264 |
# - key: readability-identifier-naming.GlobalVariableCase |
| 265 |
# value: aNy_CasE |
| 266 |
# - key: readability-identifier-naming.GlobalVariablePrefix |
| 267 |
# value: '' |
| 268 |
# - key: readability-identifier-naming.GlobalVariableSuffix |
| 269 |
# value: '' |
| 270 |
# - key: readability-identifier-naming.IgnoreFailedSplit |
| 271 |
# value: '0' |
| 272 |
# - key: readability-identifier-naming.InlineNamespaceCase |
| 273 |
# value: aNy_CasE |
| 274 |
# - key: readability-identifier-naming.InlineNamespacePrefix |
| 275 |
# value: '' |
| 276 |
# - key: readability-identifier-naming.InlineNamespaceSuffix |
| 277 |
# value: '' |
| 278 |
- key: readability-identifier-naming.LocalConstantCase |
| 279 |
value: lower_case |
| 280 |
- key: readability-identifier-naming.LocalConstantPrefix |
| 281 |
value: '' |
| 282 |
- key: readability-identifier-naming.LocalConstantSuffix |
| 283 |
value: '' |
| 284 |
- key: readability-identifier-naming.LocalVariableCase |
| 285 |
value: lower_case |
| 286 |
- key: readability-identifier-naming.LocalVariablePrefix |
| 287 |
value: '' |
| 288 |
- key: readability-identifier-naming.LocalVariableSuffix |
| 289 |
value: '' |
| 290 |
# - key: readability-identifier-naming.MemberCase |
| 291 |
# value: lower_case |
| 292 |
# - key: readability-identifier-naming.MemberPrefix |
| 293 |
# value: '_' |
| 294 |
# - key: readability-identifier-naming.MemberSuffix |
| 295 |
# value: '' |
| 296 |
# - key: readability-identifier-naming.MethodCase |
| 297 |
# value: aNy_CasE |
| 298 |
# - key: readability-identifier-naming.MethodPrefix |
| 299 |
# value: '' |
| 300 |
# - key: readability-identifier-naming.MethodSuffix |
| 301 |
# value: '' |
| 302 |
# - key: readability-identifier-naming.NamespaceCase |
| 303 |
# value: aNy_CasE |
| 304 |
# - key: readability-identifier-naming.NamespacePrefix |
| 305 |
# value: '' |
| 306 |
# - key: readability-identifier-naming.NamespaceSuffix |
| 307 |
# value: '' |
| 308 |
- key: readability-identifier-naming.ParameterCase |
| 309 |
value: lower_case |
| 310 |
# - key: readability-identifier-naming.ParameterPackCase |
| 311 |
# value: aNy_CasE |
| 312 |
# - key: readability-identifier-naming.ParameterPackPrefix |
| 313 |
# value: '' |
| 314 |
# - key: readability-identifier-naming.ParameterPackSuffix |
| 315 |
# value: '' |
| 316 |
# - key: readability-identifier-naming.ParameterPrefix |
| 317 |
# value: '' |
| 318 |
- key: readability-identifier-naming.ParameterSuffix |
| 319 |
value: '_' |
| 320 |
- key: readability-identifier-naming.PrivateMemberCase |
| 321 |
value: lower_case |
| 322 |
- key: readability-identifier-naming.PrivateMemberPrefix |
| 323 |
value: '_' |
| 324 |
- key: readability-identifier-naming.PrivateMemberSuffix |
| 325 |
value: '' |
| 326 |
# - key: readability-identifier-naming.PrivateMethodCase |
| 327 |
# value: aNy_CasE |
| 328 |
# - key: readability-identifier-naming.PrivateMethodPrefix |
| 329 |
# value: '' |
| 330 |
# - key: readability-identifier-naming.PrivateMethodSuffix |
| 331 |
# value: '' |
| 332 |
# - key: readability-identifier-naming.ProtectedMemberCase |
| 333 |
# value: aNy_CasE |
| 334 |
# - key: readability-identifier-naming.ProtectedMemberPrefix |
| 335 |
# value: '' |
| 336 |
# - key: readability-identifier-naming.ProtectedMemberSuffix |
| 337 |
# value: '' |
| 338 |
# - key: readability-identifier-naming.ProtectedMethodCase |
| 339 |
# value: aNy_CasE |
| 340 |
# - key: readability-identifier-naming.ProtectedMethodPrefix |
| 341 |
# value: '' |
| 342 |
# - key: readability-identifier-naming.ProtectedMethodSuffix |
| 343 |
# value: '' |
| 344 |
# - key: readability-identifier-naming.PublicMemberCase |
| 345 |
# value: aNy_CasE |
| 346 |
# - key: readability-identifier-naming.PublicMemberPrefix |
| 347 |
# value: '' |
| 348 |
# - key: readability-identifier-naming.PublicMemberSuffix |
| 349 |
# value: '' |
| 350 |
# - key: readability-identifier-naming.PublicMethodCase |
| 351 |
# value: aNy_CasE |
| 352 |
# - key: readability-identifier-naming.PublicMethodPrefix |
| 353 |
# value: '' |
| 354 |
# - key: readability-identifier-naming.PublicMethodSuffix |
| 355 |
# value: '' |
| 356 |
# - key: readability-identifier-naming.StaticConstantCase |
| 357 |
# value: aNy_CasE |
| 358 |
# - key: readability-identifier-naming.StaticConstantPrefix |
| 359 |
# value: '' |
| 360 |
# - key: readability-identifier-naming.StaticConstantSuffix |
| 361 |
# value: '' |
| 362 |
# - key: readability-identifier-naming.StaticVariableCase |
| 363 |
# value: aNy_CasE |
| 364 |
# - key: readability-identifier-naming.StaticVariablePrefix |
| 365 |
# value: '' |
| 366 |
# - key: readability-identifier-naming.StaticVariableSuffix |
| 367 |
# value: '' |
| 368 |
# - key: readability-identifier-naming.StructCase |
| 369 |
# value: aNy_CasE |
| 370 |
# - key: readability-identifier-naming.StructPrefix |
| 371 |
# value: '' |
| 372 |
# - key: readability-identifier-naming.StructSuffix |
| 373 |
# value: '' |
| 374 |
# - key: readability-identifier-naming.TemplateParameterCase |
| 375 |
# value: aNy_CasE |
| 376 |
# - key: readability-identifier-naming.TemplateParameterPrefix |
| 377 |
# value: '' |
| 378 |
# - key: readability-identifier-naming.TemplateParameterSuffix |
| 379 |
# value: '' |
| 380 |
# - key: readability-identifier-naming.TemplateTemplateParameterCase |
| 381 |
# value: aNy_CasE |
| 382 |
# - key: readability-identifier-naming.TemplateTemplateParameterPrefix |
| 383 |
# value: '' |
| 384 |
# - key: readability-identifier-naming.TemplateTemplateParameterSuffix |
| 385 |
# value: '' |
| 386 |
# - key: readability-identifier-naming.TypeTemplateParameterCase |
| 387 |
# value: aNy_CasE |
| 388 |
# - key: readability-identifier-naming.TypeTemplateParameterPrefix |
| 389 |
# value: '' |
| 390 |
# - key: readability-identifier-naming.TypeTemplateParameterSuffix |
| 391 |
# value: '' |
| 392 |
# - key: readability-identifier-naming.TypedefCase |
| 393 |
# value: aNy_CasE |
| 394 |
# - key: readability-identifier-naming.TypedefPrefix |
| 395 |
# value: '' |
| 396 |
# - key: readability-identifier-naming.TypedefSuffix |
| 397 |
# value: '' |
| 398 |
# - key: readability-identifier-naming.UnionCase |
| 399 |
# value: aNy_CasE |
| 400 |
# - key: readability-identifier-naming.UnionPrefix |
| 401 |
# value: '' |
| 402 |
# - key: readability-identifier-naming.UnionSuffix |
| 403 |
# value: '' |
| 404 |
# - key: readability-identifier-naming.ValueTemplateParameterCase |
| 405 |
# value: aNy_CasE |
| 406 |
# - key: readability-identifier-naming.ValueTemplateParameterPrefix |
| 407 |
# value: '' |
| 408 |
# - key: readability-identifier-naming.ValueTemplateParameterSuffix |
| 409 |
# value: '' |
| 410 |
# - key: readability-identifier-naming.VariableCase |
| 411 |
# value: aNy_CasE |
| 412 |
# - key: readability-identifier-naming.VariablePrefix |
| 413 |
# value: '' |
| 414 |
# - key: readability-identifier-naming.VariableSuffix |
| 415 |
# value: '' |
| 416 |
# - key: readability-identifier-naming.VirtualMethodCase |
| 417 |
# value: aNy_CasE |
| 418 |
# - key: readability-identifier-naming.VirtualMethodPrefix |
| 419 |
# value: '' |
| 420 |
# - key: readability-identifier-naming.VirtualMethodSuffix |
| 421 |
# value: '' |
| 422 |
# - key: readability-simplify-boolean-expr.ChainedConditionalAssignment |
| 423 |
# value: '0' |
| 424 |
# - key: readability-simplify-boolean-expr.ChainedConditionalReturn |
| 425 |
# value: '0' |
| 426 |
- key: modernize-use-override.OverrideSpelling |
| 427 |
value: 'ZMQ_OVERRIDE' |
| 428 |
- key: modernize-use-override.FinalSpelling |
| 429 |
value: 'ZMQ_FINAL' |