|
| 1 | +--- |
| 2 | +Checks: '-*, |
| 3 | + clang-analyzer-core.*, |
| 4 | + clang-analyzer-cplusplus.*, |
| 5 | + modernize-deprecated-headers, |
| 6 | + modernize-make-shared, |
| 7 | + modernize-make-unique, |
| 8 | + modernize-redundant-void-arg, |
| 9 | + modernize-use-bool-literals, |
| 10 | + modernize-use-emplace, |
| 11 | + modernize-use-equals-default, |
| 12 | + modernize-use-nullptr, |
| 13 | + modernize-use-override, |
| 14 | + google-build-explicit-make-pair, |
| 15 | + google-build-namespaces, |
| 16 | + google-build-using-namespace, |
| 17 | + google-default-arguments, |
| 18 | + google-explicit-constructor, |
| 19 | + google-global-names-in-headers, |
| 20 | + google-readability-avoid-underscore-in-googletest-name, |
| 21 | + google-readability-casting, |
| 22 | + google-runtime-int, |
| 23 | + readability-braces-around-statements, |
| 24 | + readability-container-size-empty, |
| 25 | + readability-identifier-naming.GlobalConstant, |
| 26 | + readability-identifier-naming.ConstantMember, |
| 27 | + readability-identifier-naming.ClassCase, |
| 28 | + readability-identifier-naming.StructCase, |
| 29 | + readability-identifier-naming.TypedefCase, |
| 30 | + readability-identifier-naming.EnumCase, |
| 31 | + readability-make-member-function-const, |
| 32 | + readability-non-const-parameter, |
| 33 | + readability-redundant-smartptr-get, |
| 34 | + cert-dcl21-cpp, |
| 35 | + bugprone-undelegated-constructor, |
| 36 | + bugprone-macro-parentheses, |
| 37 | + bugprone-macro-repeated-side-effects, |
| 38 | + bugprone-forward-declaration-namespace, |
| 39 | + bugprone-bool-pointer-implicit-conversion, |
| 40 | + bugprone-misplaced-widening-cast, |
| 41 | + misc-unconventional-assign-operator, |
| 42 | + misc-unused-parameters' |
| 43 | +WarningsAsErrors: '' |
| 44 | +HeaderFilterRegex: '' |
| 45 | +CheckOptions: |
| 46 | + # Modernize |
| 47 | + - key: modernize-deprecated-headers |
| 48 | + value: 'true' |
| 49 | + - key: modernize-make-shared |
| 50 | + value: 'true' |
| 51 | + - key: modernize-make-unique |
| 52 | + value: 'true' |
| 53 | + - key: modernize-redundant-void-arg |
| 54 | + value: 'true' |
| 55 | + - key: modernize-use-bool-literals |
| 56 | + value: 'false' |
| 57 | + - key: modernize-use-emplace |
| 58 | + value: 'true' |
| 59 | + - key: modernize-use-equals-default |
| 60 | + value: 'true' |
| 61 | + - key: modernize-use-nullptr |
| 62 | + value: 'true' |
| 63 | + - key: modernize-use-override |
| 64 | + value: 'true' |
| 65 | + # Google |
| 66 | + - key: google-build-explicit-make-pair |
| 67 | + value: 'true' |
| 68 | + - key: google-build-namespaces |
| 69 | + value: 'true' |
| 70 | + - key: google-build-using-namespace |
| 71 | + value: 'true' |
| 72 | + - key: google-default-arguments |
| 73 | + value: 'true' |
| 74 | + - key: google-explicit-constructor |
| 75 | + value: 'true' |
| 76 | + - key: google-global-names-in-headers |
| 77 | + value: 'true' |
| 78 | + - key: google-readability-avoid-underscore-in-googletest-name |
| 79 | + value: 'true' |
| 80 | + - key: google-readability-casting |
| 81 | + value: 'true' |
| 82 | + - key: google-runtime-int |
| 83 | + value: 'true' |
| 84 | + # Readability |
| 85 | + - key: readability-braces-around-statements |
| 86 | + value: 'true' |
| 87 | + - key: readability-container-size-empty |
| 88 | + value: 'true' |
| 89 | + - key: readability-identifier-naming.GlobalConstant |
| 90 | + value: 'kCamelCase' |
| 91 | + - key: readability-identifier-naming.ConstantMember |
| 92 | + value: 'kCamelCase' |
| 93 | + - key: readability-identifier-naming.ClassCase |
| 94 | + value: 'CamelCase' |
| 95 | + - key: readability-identifier-naming.StructCase |
| 96 | + value: 'CamelCase' |
| 97 | + - key: readability-identifier-naming.TypedefCase |
| 98 | + value: 'CamelCase' |
| 99 | + - key: readability-identifier-naming.EnumCase |
| 100 | + value: 'CamelCase' |
| 101 | + - key: readability-make-member-function-const |
| 102 | + value: 'true' |
| 103 | + - key: readability-non-const-parameter |
| 104 | + value: 'true' |
| 105 | + - key: readability-redundant-smartptr-get |
| 106 | + value: 'true' |
| 107 | + # CERT |
| 108 | + - key: cert-dcl21-cpp |
| 109 | + value: 'true' |
| 110 | + # Bugprone |
| 111 | + - key: bugprone-undelegated-constructor |
| 112 | + value: 'true' |
| 113 | + - key: bugprone-macro-parentheses |
| 114 | + value: 'true' |
| 115 | + - key: bugprone-macro-repeated-side-effects |
| 116 | + value: 'true' |
| 117 | + - key: bugprone-forward-declaration-namespace |
| 118 | + value: 'true' |
| 119 | + - key: bugprone-bool-pointer-implicit-conversion |
| 120 | + value: 'true' |
| 121 | + - key: bugprone-misplaced-widening-cast |
| 122 | + value: 'true' |
| 123 | + # CppCoreGuidelines |
| 124 | + # Miscellaneous |
| 125 | + - key: misc-unconventional-assign-operator |
| 126 | + value: 'true' |
| 127 | + - key: misc-unused-parameters |
| 128 | + value: 'true' |
0 commit comments