2020-04-02 13:55:49 +02:00
|
|
|
---
|
2023-08-08 11:05:02 +02:00
|
|
|
Checks: >
|
|
|
|
*,
|
|
|
|
-abseil-*,
|
|
|
|
-altera-*,
|
|
|
|
-android-*,
|
|
|
|
-boost-*,
|
|
|
|
-cert-*,
|
|
|
|
-cppcoreguidelines-*,
|
|
|
|
-darwin-*,
|
|
|
|
-fuchsia-*,
|
|
|
|
-google-*,
|
|
|
|
-hicpp-*,
|
|
|
|
-linuxkernel-*,
|
|
|
|
-llvm-*,
|
|
|
|
-llvmlibc-*,
|
|
|
|
-mpi-*,
|
|
|
|
-objc-*,
|
|
|
|
-openmp-*,
|
|
|
|
-zircon-*,
|
|
|
|
cert-err34-c,
|
|
|
|
google-explicit-constructor,
|
2023-08-09 12:45:15 +02:00
|
|
|
cppcoreguidelines-rvalue-reference-param-not-moved,
|
2023-08-08 11:05:02 +02:00
|
|
|
-bugprone-assignment-in-if-condition,
|
|
|
|
-bugprone-branch-clone,
|
|
|
|
-bugprone-easily-swappable-parameters,
|
2023-08-09 12:45:15 +02:00
|
|
|
-bugprone-empty-catch,
|
2023-08-08 11:05:02 +02:00
|
|
|
-bugprone-macro-parentheses,
|
|
|
|
-bugprone-narrowing-conversions,
|
|
|
|
-bugprone-signed-char-misuse,
|
2023-08-09 12:45:15 +02:00
|
|
|
-bugprone-switch-missing-default-case,
|
2023-08-08 11:05:02 +02:00
|
|
|
-bugprone-unchecked-optional-access,
|
|
|
|
-clang-analyzer-*,
|
|
|
|
-concurrency-mt-unsafe,
|
|
|
|
-misc-const-correctness,
|
|
|
|
-misc-no-recursion,
|
|
|
|
-misc-non-private-member-variables-in-classes,
|
|
|
|
-misc-throw-by-value-catch-by-reference,
|
|
|
|
-misc-use-anonymous-namespace,
|
|
|
|
-modernize-avoid-c-arrays,
|
|
|
|
-modernize-deprecated-ios-base-aliases,
|
2023-08-09 12:45:15 +02:00
|
|
|
-misc-include-cleaner,
|
2023-08-08 11:05:02 +02:00
|
|
|
-modernize-loop-convert,
|
|
|
|
-modernize-raw-string-literal,
|
|
|
|
-modernize-replace-auto-ptr,
|
|
|
|
-modernize-return-braced-init-list,
|
2023-10-26 14:55:59 +02:00
|
|
|
-modernize-type-traits,
|
2023-08-08 11:05:02 +02:00
|
|
|
-modernize-use-auto,
|
2023-10-26 14:55:59 +02:00
|
|
|
-modernize-use-nodiscard,
|
2023-08-08 11:05:02 +02:00
|
|
|
-modernize-use-trailing-return-type,
|
2023-08-09 12:45:15 +02:00
|
|
|
-performance-avoid-endl,
|
2023-08-08 11:05:02 +02:00
|
|
|
-performance-inefficient-string-concatenation,
|
|
|
|
-performance-no-automatic-move,
|
2023-08-09 12:45:15 +02:00
|
|
|
-performance-noexcept-swap,
|
2023-08-08 11:05:02 +02:00
|
|
|
-portability-simd-intrinsics,
|
|
|
|
-portability-std-allocator-const,
|
|
|
|
-readability-avoid-const-params-in-decls,
|
|
|
|
-readability-braces-around-statements,
|
|
|
|
-readability-const-return-type,
|
|
|
|
-readability-container-data-pointer,
|
|
|
|
-readability-convert-member-functions-to-static,
|
|
|
|
-readability-function-cognitive-complexity,
|
|
|
|
-readability-function-size,
|
|
|
|
-readability-identifier-length,
|
|
|
|
-readability-identifier-naming,
|
|
|
|
-readability-implicit-bool-conversion,
|
|
|
|
-readability-isolate-declaration,
|
|
|
|
-readability-magic-numbers,
|
|
|
|
-readability-redundant-access-specifiers,
|
|
|
|
-readability-suspicious-call-argument,
|
2023-08-31 09:04:51 +02:00
|
|
|
-readability-uppercase-literal-suffix
|
2021-04-18 21:51:47 +02:00
|
|
|
WarningsAsErrors: '*'
|
2022-10-16 13:51:17 +02:00
|
|
|
HeaderFilterRegex: '(cli|gui|lib|oss-fuzz|test|triage)\/[a-z]+\.h'
|
2020-04-02 13:55:49 +02:00
|
|
|
CheckOptions:
|
|
|
|
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
|
2023-03-17 13:51:55 +01:00
|
|
|
value: '1'
|
|
|
|
- key: readability-simplify-boolean-expr.SimplifyDeMorgan
|
|
|
|
value: '0'
|