2020-09-04 08:44:31 -04: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 05:37:49 -04: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 08:23:51 -04:00
|
|
|
-readability-use-anyofallof,
|
2020-06-05 05:37:49 -04:00
|
|
|
|
2020-10-21 03:27:08 -04:00
|
|
|
-readability-function-cognitive-complexity,
|
|
|
|
|
2020-06-05 05:37:49 -04:00
|
|
|
bugprone-*,
|
|
|
|
-bugprone-narrowing-conversions,
|
|
|
|
-bugprone-unhandled-self-assignment,
|
|
|
|
-bugprone-branch-clone,
|
|
|
|
-bugprone-macro-parentheses,
|
2020-07-15 08:23:51 -04:00
|
|
|
-bugprone-reserved-identifier,
|
2020-06-05 05:37:49 -04:00
|
|
|
|
|
|
|
-bugprone-sizeof-expression,
|
|
|
|
-bugprone-integer-division,
|
|
|
|
|
2020-10-21 03:27:08 -04:00
|
|
|
-bugprone-exception-escape,
|
|
|
|
-bugprone-redundant-branch-condition,
|
|
|
|
|
2020-06-05 05:37:49 -04:00
|
|
|
WarningsAsErrors: '*'
|