|
1 | | -Checks: > |
2 | | - modernize-*, |
3 | | - performance-*, |
4 | | - portability-*, |
5 | | - readability-*, |
6 | | - -google-readability-braces-around-statements, |
7 | | - -google-readability-namespace-comments, |
8 | | - -google-runtime-references, |
9 | | - -misc-non-private-member-variables-in-classes, |
10 | | - -misc-const-correctness, |
11 | | - -misc-include-cleaner, |
12 | | - -modernize-return-braced-init-list, |
13 | | - -modernize-use-trailing-return-type, |
14 | | - -modernize-concat-nested-namespaces, |
15 | | - -modernize-use-nodiscard, |
16 | | - -modernize-avoid-c-arrays, |
17 | | - -modernize-pass-by-value, |
18 | | - -performance-move-const-arg, |
19 | | - -performance-avoid-endl, |
20 | | - -readability-braces-around-statements, |
21 | | - -readability-identifier-length, |
22 | | - -readability-magic-numbers, |
23 | | - -readability-named-parameter, |
24 | | - -readability-redundant-declaration, |
25 | | - -readability-function-cognitive-complexity, |
26 | | - -bugprone-narrowing-conversions, |
27 | | - -bugprone-easily-swappable-parameters, |
28 | | - -bugprone-implicit-widening-of-multiplication-result, |
29 | | - -bugprone-unchecked-optional-access, |
| 1 | +Checks : > google - *, modernize - *, performance - *, portability - *, |
| 2 | + readability - *, -google - readability - braces - around - statements, |
| 3 | + -google - readability - namespace - comments, |
| 4 | + -google - runtime - references, |
| 5 | + -misc - non - private - member - variables - in - classes, |
| 6 | + -misc - const - correctness, -misc - include - cleaner, |
| 7 | + -modernize - return -braced - init - list, |
| 8 | + -modernize - use - trailing - return -type, |
| 9 | + -modernize - concat - nested - namespaces, -modernize - use - nodiscard, |
| 10 | + -modernize - avoid - c - arrays, -modernize - pass - by - value, |
| 11 | + -performance - move - const - arg, -performance - avoid - endl, |
| 12 | + -readability - braces - around - statements, |
| 13 | + -readability - identifier - length, -readability - magic - numbers, |
| 14 | + -readability - named - parameter, -readability - redundant - declaration, |
| 15 | + -readability - function - cognitive - complexity, |
| 16 | + -bugprone - narrowing - conversions, |
| 17 | + -bugprone - easily - swappable - parameters, |
| 18 | + -bugprone - implicit - widening - of - multiplication - result, |
| 19 | + -bugprone - unchecked - optional - access, |
30 | 20 |
|
31 | | -WarningsAsErrors: "*" |
| 21 | + WarningsAsErrors : "*" |
32 | 22 |
|
33 | | -CheckOptions: |
34 | | - - { key: readability-identifier-naming.NamespaceCase, value: lower_case } |
35 | | - - { key: readability-identifier-naming.ClassCase, value: CamelCase } |
36 | | - - { key: readability-identifier-naming.StructCase, value: CamelCase } |
37 | | - - { key: readability-identifier-naming.TemplateParameterCase, value: CamelCase } |
38 | | - - { key: readability-identifier-naming.FunctionCase, value: aNy_CasE } |
39 | | - - { key: readability-identifier-naming.VariableCase, value: lower_case } |
40 | | - - { key: readability-identifier-naming.ClassMemberCase, value: lower_case } |
41 | | - - { key: readability-identifier-naming.ClassMemberSuffix, value: _ } |
42 | | - - { key: readability-identifier-naming.PrivateMemberSuffix, value: _ } |
43 | | - - { key: readability-identifier-naming.ProtectedMemberSuffix, value: _ } |
44 | | - - { key: readability-identifier-naming.EnumConstantCase, value: CamelCase } |
45 | | - - { key: readability-identifier-naming.EnumConstantPrefix, value: k } |
46 | | - - { key: readability-identifier-naming.ConstexprVariableCase, value: CamelCase } |
47 | | - - { key: readability-identifier-naming.ConstexprVariablePrefix, value: k } |
48 | | - - { key: readability-identifier-naming.GlobalConstantCase, value: CamelCase } |
49 | | - - { key: readability-identifier-naming.GlobalConstantPrefix, value: k } |
50 | | - - { key: readability-identifier-naming.MemberConstantCase, value: CamelCase } |
51 | | - - { key: readability-identifier-naming.MemberConstantPrefix, value: k } |
52 | | - - { key: readability-identifier-naming.StaticConstantCase, value: CamelCase } |
53 | | - - { key: readability-identifier-naming.StaticConstantPrefix, value: k } |
54 | | - - { key: readability-implicit-bool-conversion.AllowIntegerConditions, value: 1 } |
55 | | - - { key: readability-implicit-bool-conversion.AllowPointerConditions, value: 1 } |
56 | | - - { key: readability-function-cognitive-complexity.IgnoreMacros, value: 1 } |
| 23 | + CheckOptions |
| 24 | + : -{ |
| 25 | + key : readability - identifier - naming.NamespaceCase, |
| 26 | + value : lower_case |
| 27 | + } - |
| 28 | + {key : readability - identifier - naming.ClassCase, value : CamelCase} - |
| 29 | + {key : readability - identifier - naming.StructCase, value : CamelCase} - |
| 30 | + { |
| 31 | + key : readability - identifier - naming.TemplateParameterCase, |
| 32 | + value : CamelCase |
| 33 | + } - |
| 34 | + {key : readability - identifier - naming.FunctionCase, value : aNy_CasE} - |
| 35 | + { |
| 36 | + key : readability - identifier - naming.VariableCase, |
| 37 | + value : lower_case |
| 38 | + } - |
| 39 | + { |
| 40 | + key : readability - identifier - naming.ClassMemberCase, |
| 41 | + value : lower_case |
| 42 | + } - |
| 43 | + {key : readability - identifier - naming.ClassMemberSuffix, value : _} - |
| 44 | + {key : readability - identifier - naming.PrivateMemberSuffix, value : _} - |
| 45 | + { |
| 46 | + key : readability - identifier - naming.ProtectedMemberSuffix, |
| 47 | + value : _ |
| 48 | + } - |
| 49 | + { |
| 50 | + key : readability - identifier - naming.EnumConstantCase, |
| 51 | + value : CamelCase |
| 52 | + } - |
| 53 | + {key : readability - identifier - naming.EnumConstantPrefix, value : k} - |
| 54 | + { |
| 55 | + key : readability - identifier - naming.ConstexprVariableCase, |
| 56 | + value : CamelCase |
| 57 | + } - |
| 58 | + { |
| 59 | + key : readability - identifier - naming.ConstexprVariablePrefix, |
| 60 | + value : k |
| 61 | + } - |
| 62 | + { |
| 63 | + key : readability - identifier - naming.GlobalConstantCase, |
| 64 | + value : CamelCase |
| 65 | + } - |
| 66 | + { |
| 67 | + key : readability - identifier - naming.GlobalConstantPrefix, |
| 68 | + value : k |
| 69 | + } - |
| 70 | + { |
| 71 | + key : readability - identifier - naming.MemberConstantCase, |
| 72 | + value : CamelCase |
| 73 | + } - |
| 74 | + { |
| 75 | + key : readability - identifier - naming.MemberConstantPrefix, |
| 76 | + value : k |
| 77 | + } - |
| 78 | + { |
| 79 | + key : readability - identifier - naming.StaticConstantCase, |
| 80 | + value : CamelCase |
| 81 | + } - |
| 82 | + { |
| 83 | + key : readability - identifier - naming.StaticConstantPrefix, |
| 84 | + value : k |
| 85 | + } - |
| 86 | + { |
| 87 | + key : readability - implicit - bool - conversion.AllowIntegerConditions, |
| 88 | + value : 1 |
| 89 | + } - |
| 90 | + { |
| 91 | + key : readability - implicit - bool - conversion.AllowPointerConditions, |
| 92 | + value : 1 |
| 93 | + } - |
| 94 | + { |
| 95 | + key : readability - function - cognitive - complexity.IgnoreMacros, |
| 96 | + value : 1 |
| 97 | + } |
0 commit comments