mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
dev: update .clang-tidy
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
This commit is contained in:
parent
a7593fca1d
commit
b68ea3f916
19
.clang-tidy
19
.clang-tidy
|
@ -1,15 +1,18 @@
|
||||||
# https://clang.llvm.org/extra/clang-tidy/
|
# https://clang.llvm.org/extra/clang-tidy/
|
||||||
---
|
---
|
||||||
Checks: >
|
Checks: >
|
||||||
-*
|
-*,
|
||||||
bugprone-*,
|
bugprone-*,
|
||||||
cert-*,
|
cert-*,
|
||||||
clang-analyzer-*,
|
clang-analyzer-*,
|
||||||
clang-diagnostic-*,
|
clang-diagnostic-*,
|
||||||
|
concurrency-*,
|
||||||
cppcoreguidelines-*,
|
cppcoreguidelines-*,
|
||||||
google-*,
|
google-*,
|
||||||
|
hicpp-*,
|
||||||
misc-*,
|
misc-*,
|
||||||
modernize-*,
|
modernize-*,
|
||||||
|
objc-*,
|
||||||
performance-*,
|
performance-*,
|
||||||
portability-*,
|
portability-*,
|
||||||
readability-*,
|
readability-*,
|
||||||
|
@ -17,18 +20,22 @@ Checks: >
|
||||||
-bugprone-reserved-identifier,
|
-bugprone-reserved-identifier,
|
||||||
-cppcoreguidelines-owning-memory,
|
-cppcoreguidelines-owning-memory,
|
||||||
-cppcoreguidelines-prefer-member-initializer,
|
-cppcoreguidelines-prefer-member-initializer,
|
||||||
|
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
|
||||||
|
-cppcoreguidelines-pro-type-cstyle-cast,
|
||||||
|
-cppcoreguidelines-pro-type-reinterpret-cast,
|
||||||
-google-default-arguments,
|
-google-default-arguments,
|
||||||
-misc-non-private-member-variables-in-classes,
|
-google-readability-casting,
|
||||||
|
-hicpp-deprecated-headers,
|
||||||
-misc-const-correctness,
|
-misc-const-correctness,
|
||||||
|
-misc-non-private-member-variables-in-classes,
|
||||||
-modernize-avoid-c-arrays,
|
-modernize-avoid-c-arrays,
|
||||||
# -modernize-use-auto,
|
-modernize-deprecated-headers,
|
||||||
-modernize-use-nodiscard,
|
-modernize-use-nodiscard,
|
||||||
-modernize-use-trailing-return-type,
|
-modernize-use-trailing-return-type,
|
||||||
-readability-magic-numbers,
|
|
||||||
-google-readability-braces-around-statements,
|
|
||||||
-readability-braces-around-statements,
|
-readability-braces-around-statements,
|
||||||
-readability-identifier-length,
|
|
||||||
-readability-function-cognitive-complexity,
|
-readability-function-cognitive-complexity,
|
||||||
|
-readability-identifier-length,
|
||||||
|
-readability-magic-numbers,
|
||||||
CheckOptions:
|
CheckOptions:
|
||||||
- key: modernize-loop-convert.MinConfidence
|
- key: modernize-loop-convert.MinConfidence
|
||||||
value: reasonable
|
value: reasonable
|
||||||
|
|
Loading…
Reference in a new issue