diff options
Diffstat (limited to 'src/server/.clang-tidy')
-rw-r--r-- | src/server/.clang-tidy | 52 |
1 files changed, 1 insertions, 51 deletions
diff --git a/src/server/.clang-tidy b/src/server/.clang-tidy index 8d9d65fa..51c9b102 100644 --- a/src/server/.clang-tidy +++ b/src/server/.clang-tidy @@ -1,72 +1,22 @@ Checks: > - *, -*-avoid-c-arrays, - -*-magic-numbers, - -*-named-parameter, - -*-narrowing-conversions, -*-non-private-member-variables-in-classes, -*-uppercase-literal-suffix, -*-vararg, - -abseil-string-find-str-contains, - -altera-*, - -android-cloexec-*, -bugprone-branch-clone, - -bugprone-easily-swappable-parameters, -bugprone-parent-virtual-call, -bugprone-reserved-identifier, -bugprone-suspicious-string-compare, -cert-dcl37-c, -cert-dcl51-cpp, - -cert-err33-c, - -cert-str34-c, - -clang-analyzer-optin.cplusplus.VirtualCall, - -concurrency-mt-unsafe, - -cppcoreguidelines-avoid-non-const-global-variables, - -cppcoreguidelines-macro-usage, - -cppcoreguidelines-no-malloc, - -cppcoreguidelines-owning-memory, - -cppcoreguidelines-pro-bounds-array-to-pointer-decay, -cppcoreguidelines-pro-bounds-constant-array-index, - -cppcoreguidelines-pro-bounds-pointer-arithmetic, - -cppcoreguidelines-pro-type-const-cast, -cppcoreguidelines-pro-type-cstyle-cast, - -cppcoreguidelines-pro-type-reinterpret-cast, -cppcoreguidelines-pro-type-static-cast-downcast, - -cppcoreguidelines-pro-type-union-access, - -fuchsia-*, - -google-default-arguments, - -google-explicit-constructor, - -google-readability-casting, -google-readability-todo, -google-runtime-int, -google-runtime-references, - -hicpp-explicit-conversions, -hicpp-multiway-paths-covered, - -hicpp-no-array-decay, - -hicpp-no-malloc, - -hicpp-signed-bitwise, -llvm-header-guard, - -llvmlibc-*, - -misc-no-recursion, -misc-redundant-expression, - -misc-unused-parameters, - -modernize-concat-nested-namespaces, - -modernize-make-unique, - -modernize-pass-by-value, - -modernize-return-braced-init-list, - -modernize-use-nodiscard, - -modernize-use-trailing-return-type, -portability-simd-intrinsics, - -readability-function-cognitive-complexity, - -readability-identifier-length, - -readability-implicit-bool-conversion, - -readability-use-anyofallof, -CheckOptions: - - key: modernize-use-override.AllowOverrideAndFinal - value: 'true' -CheckOptions: - - key: cppcoreguidelines-explicit-virtual-functions.AllowOverrideAndFinal - value: 'true' -WarningsAsErrors: '*' -HeaderFilterRegex: '.*' -FormatStyle: file +InheritParentConfig: true |