diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/.clang-tidy | 13 | ||||
-rw-r--r-- | src/server/.clang-tidy | 17 |
2 files changed, 30 insertions, 0 deletions
diff --git a/src/gui/.clang-tidy b/src/gui/.clang-tidy index 7f216d2c..2578351f 100644 --- a/src/gui/.clang-tidy +++ b/src/gui/.clang-tidy @@ -9,9 +9,12 @@ Checks: > -*-non-private-member-variables-in-classes, -*-special-member-functions, -*-uppercase-literal-suffix, + -*-use-auto, -abseil-string-find-str-contains, + -altera-*, -android-cloexec-*, -bugprone-branch-clone, + -bugprone-easily-swappable-parameters, -bugprone-exception-escape, -bugprone-macro-parentheses, -bugprone-parent-virtual-call, @@ -22,6 +25,7 @@ Checks: > -cert-dcl37-c, -cert-dcl50-cpp, -cert-dcl51-cpp, + -cert-err33-c, -cert-err34-c, -cert-err58-cpp, -cert-str34-c, @@ -29,6 +33,7 @@ Checks: > -clang-analyzer-core.CallAndMessage, -clang-analyzer-optin.cplusplus.VirtualCall, -clang-analyzer-valist.Uninitialized, + -concurrency-mt-unsafe, -cppcoreguidelines-avoid-non-const-global-variables, -cppcoreguidelines-macro-usage, -cppcoreguidelines-no-malloc, @@ -46,6 +51,7 @@ Checks: > -fuchsia-*, -google-default-arguments, -google-explicit-constructor, + -google-readability-casting, -google-readability-todo, -google-runtime-int, -google-runtime-references, @@ -59,8 +65,15 @@ Checks: > -llvmlibc-*, -misc-no-recursion, -misc-unused-parameters, + -modernize-avoid-bind, + -modernize-concat-nested-namespaces, + -modernize-make-unique, + -modernize-return-braced-init-list, + -modernize-use-nodiscard, -modernize-use-trailing-return-type, -readability-convert-member-functions-to-static, + -readability-function-cognitive-complexity, + -readability-identifier-length, -readability-implicit-bool-conversion, -readability-use-anyofallof, CheckOptions: 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, |