|
| 1 | +# Clang-tidy overview found in https://clang.llvm.org/extra/clang-tidy/ |
| 2 | +# For description of test cases, see https://clang.llvm.org/extra/clang-tidy/checks/list.html |
| 3 | +# |
| 4 | +# List generated with clang-tidy 10.0.0 |
| 5 | +# Updated for use with clang-tidy 16 |
| 6 | +# |
| 7 | +# Do not use in-line comments |
| 8 | +# |
| 9 | +# Note: |
| 10 | +# We use the compiler to detect uninitialized use, instead of "cppcoreguidelines-init-variables" |
| 11 | +--- |
| 12 | +Checks: "abseil-*, |
| 13 | + android-*, |
| 14 | + boost-*, |
| 15 | + bugprone-*, |
| 16 | + -bugprone-easily-swappable-parameters, |
| 17 | + cert-*, |
| 18 | + clang-analyzer-*, |
| 19 | + clang-diagnostic-*, |
| 20 | + concurrency-*, |
| 21 | + -concurrency-mt-unsafe, |
| 22 | + cppcoreguidelines-*, |
| 23 | + -cppcoreguidelines-avoid-magic-numbers, |
| 24 | + -cppcoreguidelines-init-variables, |
| 25 | + darwin-*, |
| 26 | + fuchsia-*, |
| 27 | + google-*, |
| 28 | + hicpp-*, |
| 29 | + -hicpp-signed-bitwise, |
| 30 | + linuxkernel-*, |
| 31 | + llvm-*, |
| 32 | + misc-*, |
| 33 | + -misc-unused-parameters, |
| 34 | + modernize-*, |
| 35 | + -modernize-use-trailing-return-type, |
| 36 | + -modernize-macro-to-enum, |
| 37 | + mpi-*, |
| 38 | + objc-*, |
| 39 | + openmp-*, |
| 40 | + performance-*, |
| 41 | + portability-*, |
| 42 | + readability-*, |
| 43 | + -readability-identifier-length, |
| 44 | + -readability-magic-numbers, |
| 45 | + zircon-*" |
| 46 | +WarningsAsErrors: "*" |
| 47 | +HeaderFilterRegex: "^cl" |
| 48 | +AnalyzeTemporaryDtors: false |
| 49 | +FormatStyle: none |
| 50 | +User: user |
| 51 | +CheckOptions: |
| 52 | + - key: readability-function-cognitive-complexity.Threshold |
| 53 | + value: "150" |
| 54 | + - key: readability-function-size.StatementThreshold |
| 55 | + value: "1600" |
| 56 | + - key: hicpp-function-size.StatementThreshold |
| 57 | + value: "1600" |
| 58 | + - key: google-readability-function-size.StatementThreshold |
| 59 | + value: "1600" |
| 60 | + - key: bugprone-reserved-identifier.AllowedIdentifiers |
| 61 | + value: "_GNU_SOURCE" |
| 62 | + - key: cert-dcl37-c.AllowedIdentifiers |
| 63 | + value: "_GNU_SOURCE" |
| 64 | + - key: cert-dcl51-cpp.AllowedIdentifiers |
| 65 | + value: "_GNU_SOURCE" |
| 66 | +--- |
0 commit comments