|
| 1 | +# A YAML format of https://clang.llvm.org/extra/clang-tidy/. |
| 2 | + |
1 | 3 | # Prefix check with "-" to ignore. |
2 | 4 | # Note: Some of the checks here are used as errors selectively, see |
3 | 5 | # //ci/lint.sh |
4 | | -Checks: "bugprone-use-after-move,\ |
5 | | -bugprone-unchecked-optional-access,\ |
6 | | -clang-analyzer-*,\ |
7 | | -clang-diagnostic-*,\ |
8 | | -darwin-*,\ |
9 | | -google-*,\ |
10 | | -modernize-use-default-member-init,\ |
11 | | -objc-*,\ |
12 | | --objc-nsinvocation-argument-lifetime,\ |
13 | | -readability-identifier-naming,\ |
14 | | --google-build-using-namespace,\ |
15 | | --google-default-arguments,\ |
16 | | --google-objc-global-variable-declaration,\ |
17 | | --google-objc-avoid-throwing-exception,\ |
18 | | --google-readability-casting,\ |
19 | | --clang-analyzer-nullability.NullPassedToNonnull,\ |
20 | | --clang-analyzer-nullability.NullablePassedToNonnull,\ |
21 | | --clang-analyzer-nullability.NullReturnedFromNonnull,\ |
22 | | --clang-analyzer-nullability.NullableReturnedFromNonnull,\ |
23 | | -performance-move-const-arg,\ |
24 | | -performance-unnecessary-value-param" |
| 6 | +Checks: >- |
| 7 | + bugprone-use-after-move, |
| 8 | + bugprone-unchecked-optional-access, |
| 9 | + clang-analyzer-*, |
| 10 | + clang-diagnostic-*, |
| 11 | + darwin-*, |
| 12 | + google-*, |
| 13 | + modernize-use-default-member-init, |
| 14 | + objc-*, |
| 15 | + -objc-nsinvocation-argument-lifetime, |
| 16 | + readability-identifier-naming, |
| 17 | + -google-build-using-namespace, |
| 18 | + -google-default-arguments, |
| 19 | + -google-objc-global-variable-declaration, |
| 20 | + -google-objc-avoid-throwing-exception, |
| 21 | + -google-readability-casting, |
| 22 | + -clang-analyzer-nullability.NullPassedToNonnull, |
| 23 | + -clang-analyzer-nullability.NullablePassedToNonnull, |
| 24 | + -clang-analyzer-nullability.NullReturnedFromNonnull, |
| 25 | + -clang-analyzer-nullability.NullableReturnedFromNonnull, |
| 26 | + performance-move-const-arg, |
| 27 | + performance-unnecessary-value-param |
25 | 28 |
|
26 | 29 | CheckOptions: |
27 | | - - key: modernize-use-default-member-init.UseAssignment |
28 | | - value: true |
29 | | - - key: readability-identifier-naming.EnumConstantCase |
30 | | - value: 'CamelCase' |
31 | | - - key: readability-identifier-naming.EnumConstantPrefix |
32 | | - value: 'k' |
33 | | - - key: readability-identifier-naming.GlobalConstantCase |
34 | | - value: 'CamelCase' |
35 | | - - key: readability-identifier-naming.GlobalConstantPrefix |
36 | | - value: 'k' |
37 | | - - key: readability-identifier-naming.PrivateMemberCase |
38 | | - value: 'lower_case' |
39 | | - - key: readability-identifier-naming.PrivateMemberSuffix |
40 | | - value: '_' |
| 30 | + - key: modernize-use-default-member-init.UseAssignment |
| 31 | + value: true |
| 32 | + - key: readability-identifier-naming.EnumConstantCase |
| 33 | + value: "CamelCase" |
| 34 | + - key: readability-identifier-naming.EnumConstantPrefix |
| 35 | + value: "k" |
| 36 | + - key: readability-identifier-naming.GlobalConstantCase |
| 37 | + value: "CamelCase" |
| 38 | + - key: readability-identifier-naming.GlobalConstantPrefix |
| 39 | + value: "k" |
| 40 | + - key: readability-identifier-naming.PrivateMemberCase |
| 41 | + value: "lower_case" |
| 42 | + - key: readability-identifier-naming.PrivateMemberSuffix |
| 43 | + value: "_" |
0 commit comments