2020-09-04 12:44:31 +00:00
|
|
|
# The warnings below are disabled because they are too pedantic and not worth fixing.
|
|
|
|
# Some of them will be enabled as part of the Clang-Tidy task, see T78535.
|
|
|
|
|
2020-06-05 09:37:49 +00:00
|
|
|
Checks: >
|
|
|
|
-*,
|
|
|
|
readability-*,
|
|
|
|
-readability-uppercase-literal-suffix,
|
|
|
|
-readability-magic-numbers,
|
|
|
|
-readability-isolate-declaration,
|
|
|
|
-readability-convert-member-functions-to-static,
|
|
|
|
-readability-implicit-bool-conversion,
|
|
|
|
-readability-avoid-const-params-in-decls,
|
|
|
|
-readability-simplify-boolean-expr,
|
|
|
|
-readability-make-member-function-const,
|
|
|
|
|
|
|
|
-readability-misleading-indentation,
|
|
|
|
|
2020-07-15 12:23:51 +00:00
|
|
|
-readability-use-anyofallof,
|
2020-06-05 09:37:49 +00:00
|
|
|
|
2020-10-21 07:27:08 +00:00
|
|
|
-readability-function-cognitive-complexity,
|
|
|
|
|
2020-06-05 09:37:49 +00:00
|
|
|
bugprone-*,
|
|
|
|
-bugprone-narrowing-conversions,
|
|
|
|
-bugprone-unhandled-self-assignment,
|
|
|
|
-bugprone-branch-clone,
|
|
|
|
-bugprone-macro-parentheses,
|
2020-07-15 12:23:51 +00:00
|
|
|
-bugprone-reserved-identifier,
|
2020-06-05 09:37:49 +00:00
|
|
|
|
|
|
|
-bugprone-sizeof-expression,
|
|
|
|
-bugprone-integer-division,
|
|
|
|
|
2020-10-21 07:27:08 +00:00
|
|
|
-bugprone-redundant-branch-condition,
|
|
|
|
|
2020-11-06 11:15:35 +00:00
|
|
|
modernize-*,
|
|
|
|
-modernize-use-auto,
|
|
|
|
-modernize-use-trailing-return-type,
|
|
|
|
-modernize-avoid-c-arrays,
|
|
|
|
-modernize-use-equals-default,
|
|
|
|
-modernize-use-nodiscard,
|
|
|
|
-modernize-loop-convert,
|
|
|
|
-modernize-pass-by-value,
|
|
|
|
-modernize-use-default-member-init,
|
|
|
|
-modernize-raw-string-literal,
|
|
|
|
-modernize-avoid-bind,
|
|
|
|
-modernize-use-transparent-functors,
|
|
|
|
|
2020-06-05 09:37:49 +00:00
|
|
|
WarningsAsErrors: '*'
|