mirror of
https://github.com/transmission/transmission
synced 2025-01-03 13:35:36 +00:00
build: silence new clang-tidy 13 warnings (#1982)
* build: silence new clang-tidy 13 warnings * build: remove WarningsAsErrors in libT-tests .clang-tidy
This commit is contained in:
parent
c6501c655c
commit
4b4948d26d
2 changed files with 10 additions and 5 deletions
|
@ -4,6 +4,8 @@
|
|||
Checks: >
|
||||
bugprone-*,
|
||||
-bugprone-branch-clone,
|
||||
-bugprone-easily-swappable-parameters,
|
||||
-bugprone-implicit-widening-of-multiplication-result,
|
||||
-bugprone-narrowing-conversions,
|
||||
cert-*,
|
||||
-cert-err58-cpp,
|
||||
|
@ -28,6 +30,7 @@ Checks: >
|
|||
-cppcoreguidelines-narrowing-conversions,
|
||||
-cppcoreguidelines-non-private-member-variables-in-classes,
|
||||
-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,
|
||||
|
@ -47,6 +50,7 @@ Checks: >
|
|||
-misc-no-recursion,
|
||||
-misc-non-private-member-variables-in-classes,
|
||||
modernize-*,
|
||||
-modernize-return-braced-init-list,
|
||||
-modernize-use-trailing-return-type, # keep
|
||||
performance-*,
|
||||
readability-*,
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
Checks: >
|
||||
bugprone-*,
|
||||
-bugprone-branch-clone,
|
||||
-bugprone-easily-swappable-parameters,
|
||||
-bugprone-implicit-widening-of-multiplication-result,
|
||||
-bugprone-narrowing-conversions,
|
||||
cert-*,
|
||||
-cert-dcl50-cpp,
|
||||
|
@ -46,8 +48,9 @@ Checks: >
|
|||
-misc-no-recursion,
|
||||
-misc-non-private-member-variables-in-classes,
|
||||
modernize-*,
|
||||
-modernize-raw-string-literal,
|
||||
-modernize-concat-nested-namespaces,
|
||||
-modernize-raw-string-literal,
|
||||
-modernize-return-braced-init-list,
|
||||
-modernize-use-trailing-return-type,
|
||||
performance-*,
|
||||
-performance-no-int-to-ptr,
|
||||
|
@ -59,10 +62,8 @@ Checks: >
|
|||
-readability-magic-numbers,
|
||||
-readability-qualified-auto,
|
||||
-readability-redundant-access-specifiers,
|
||||
-readability-static-accessed-through-instance
|
||||
|
||||
WarningsAsErrors: >
|
||||
*
|
||||
-readability-static-accessed-through-instance,
|
||||
-readability-suspicious-call-argument
|
||||
|
||||
CheckOptions:
|
||||
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
|
||||
|
|
Loading…
Reference in a new issue