diff options
Diffstat (limited to 'src/server/.clang-tidy')
-rw-r--r-- | src/server/.clang-tidy | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/server/.clang-tidy b/src/server/.clang-tidy index fc51d942..d76fbb55 100644 --- a/src/server/.clang-tidy +++ b/src/server/.clang-tidy @@ -8,20 +8,28 @@ Checks: > -*-non-private-member-variables-in-classes, -*-special-member-functions, -*-uppercase-literal-suffix, + -*-use-auto, -*-vararg, -abseil-string-find-str-contains, + -altera-*, -android-cloexec-*, -bugprone-branch-clone, + -bugprone-easily-swappable-parameters, -bugprone-parent-virtual-call, -bugprone-reserved-identifier, -bugprone-signed-char-misuse, -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-prefer-member-initializer, -cppcoreguidelines-pro-bounds-array-to-pointer-decay, -cppcoreguidelines-pro-bounds-constant-array-index, -cppcoreguidelines-pro-bounds-pointer-arithmetic, @@ -33,6 +41,7 @@ Checks: > -fuchsia-*, -google-default-arguments, -google-explicit-constructor, + -google-readability-casting, -google-readability-todo, -google-runtime-int, -google-runtime-references, @@ -44,10 +53,18 @@ Checks: > -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-default-member-init, + -modernize-use-nodiscard, -modernize-use-trailing-return-type, -portability-simd-intrinsics, + -readability-function-cognitive-complexity, + -readability-identifier-length, -readability-implicit-bool-conversion, -readability-redundant-member-init, -readability-use-anyofallof, |