mirror of
https://github.com/transmission/transmission
synced 2024-12-29 19:16:23 +00:00
326d9f3daf
* refactor: do not use goto in file-win32.cc * refactor: do not use goto in subprocess-posix.cc * refactor: do not use goto in peer-io.cc * build: add cppcoreguidelines-avoid-goto to libtransmission/.clang-tidy
40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
---
|
|
# PRs welcome to fix & re-enable any of these explicitly-disabled checks
|
|
Checks: >
|
|
bugprone-*,
|
|
-bugprone-branch-clone,
|
|
-bugprone-easily-swappable-parameters,
|
|
-bugprone-implicit-widening-of-multiplication-result,
|
|
-bugprone-narrowing-conversions,
|
|
cert-*,
|
|
-cert-err58-cpp,
|
|
clang-analyzer-*,
|
|
cppcoreguidelines-avoid-const-or-ref-data-members,
|
|
cppcoreguidelines-avoid-goto,
|
|
cppcoreguidelines-init-variables,
|
|
cppcoreguidelines-interfaces-global-init,
|
|
cppcoreguidelines-no-malloc,
|
|
cppcoreguidelines-prefer-member-initializer,
|
|
cppcoreguidelines-pro-type-member-init,
|
|
cppcoreguidelines-slicing,
|
|
cppcoreguidelines-special-member-functions,
|
|
cppcoreguidelines-virtual-class-destructor,
|
|
google-explicit-constructor,
|
|
misc-*,
|
|
-misc-no-recursion,
|
|
-misc-non-private-member-variables-in-classes,
|
|
modernize-*,
|
|
-modernize-use-trailing-return-type,
|
|
performance-*,
|
|
portability-*,
|
|
readability-*,
|
|
-readability-function-cognitive-complexity,
|
|
-readability-identifier-length,
|
|
-readability-magic-numbers,
|
|
-readability-qualified-auto,
|
|
|
|
CheckOptions:
|
|
- { key: readability-identifier-naming.ParameterCase, value: lower_case }
|
|
- { key: readability-identifier-naming.ConstexprVariableCase, value: CamelCase }
|
|
- { key: readability-identifier-naming.VariableCase, value: lower_case }
|
|
|