diff --git a/src/.clang-tidy b/src/.clang-tidy index 0422c2a54..6772ddbca 100644 --- a/src/.clang-tidy +++ b/src/.clang-tidy @@ -1,5 +1,32 @@ --- -Checks: 'clang-diagnostic-*,clang-analyzer-*,readability-*,modernize-*,bugprone-*,misc-*,-misc-unused-parameters,google-runtime-int,-llvm-header-guard,fuchsia-restrict-system-includes,-clang-analyzer-valist.Uninitialized,-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,-clang-analyzer-security.insecureAPI.rand,-clang-analyzer-alpha.*,-modernize-macro-to-enum,-readability-magic-numbers,-readability-braces-around-statements,-readability-function-cognitive-complexity,-readability-identifier-length,-readability-isolate-declaration,-readability-suspicious-call-argument,-bugprone-easily-swappable-parameters,-bugprone-narrowing-conversions,-bugprone-reserved-identifier' +Checks: > + clang-diagnostic-*, + clang-analyzer-*, + readability-*, + modernize-*, + bugprone-*, + misc-*, + google-runtime-int, + fuchsia-restrict-system-includes, + -misc-unused-parameters, + -misc-include-cleaner, + -llvm-header-guard, + -clang-analyzer-valist.Uninitialized, + -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, + -clang-analyzer-security.insecureAPI.rand, + -clang-analyzer-alpha.*, + -modernize-macro-to-enum, + -readability-magic-numbers, + -readability-braces-around-statements, + -readability-function-cognitive-complexity, + -readability-identifier-length, + -readability-isolate-declaration, + -readability-suspicious-call-argument, + -bugprone-easily-swappable-parameters, + -bugprone-narrowing-conversions, + -bugprone-reserved-identifier, + -bugprone-switch-missing-default-case, + WarningsAsErrors: '*' HeaderFilterRegex: '.*(?