diff --git a/.clang-tidy b/.clang-tidy index 1286f74e8..54ec33240 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,5 +1,47 @@ --- -Checks: '-*,abseil-*,altera-*,boost-*,bugprone-*,cert-*,clang-analyzer*,concurrency-*,cppcoreguidelines*,google-*,hicpp-*,llvm-*,modernize-*,objc-*,openmp-*,performance-*,portability-*,readability-*,-llvm-include-order,-google-readability-braces-around-statements,-hicpp-braces-around-statements,-altera-unroll-loops,-altera-struct-pack-align,-readability-braces-around-statements,-llvm-header-guard,-llvm-qualified-auto,-hicpp-uppercase-literal-suffix,-hicpp-signed-bitwisei,-cert-dcl16-c,-cert-env33-c,-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,-readability-function-cognitive-complexity,-readability-uppercase-literal-suffix,-readability-qualified-auto' +Checks: > + -*, + abseil-*, + altera-*, + boost-*, + bugprone-*, + cert-*, + clang-analyzer*, + concurrency-*, + cppcoreguidelines*, + google-*, + hicpp-*, + llvm-*, + modernize-*, + objc-*, + openmp-*, + performance-*, + portability-*, + readability-*, + -altera-id-dependent-backward-branch, + -altera-struct-pack-align, + -altera-unroll-loops, + -bugprone-easily-swappable-parameters + -cert-dcl16-c, + -cert-env33-c, + -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, + -cppcoreguidelines-avoid-magic-numbers, + -cppcoreguidelines-avoid-non-const-global-variables, + -google-readability-braces-around-statements, + -hicpp-braces-around-statements, + -hicpp-multiway-paths-covered, + -hicpp-signed-bitwise, + -hicpp-uppercase-literal-suffix, + -llvm-header-guard, + -llvm-include-order, + -llvm-qualified-auto, + -modernize-use-trailing-return-type, + -readability-braces-around-statements, + -readability-function-cognitive-complexity, + -readability-identifier-length, + -readability-magic-numbers, + -readability-qualified-auto, + -readability-uppercase-literal-suffix WarningsAsErrors: '' HeaderFilterRegex: '' AnalyzeTemporaryDtors: false