Changeset View
Changeset View
Standalone View
Standalone View
.clang-tidy
| # The warnings below are disabled because they are too pedantic and not worth fixing. | # 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. | # Some of them will be enabled as part of the Clang-Tidy task, see T78535. | ||||
| Checks: > | Checks: > | ||||
| -*, | -*, | ||||
| readability-*, | readability-*, | ||||
| -readability-uppercase-literal-suffix, | -readability-uppercase-literal-suffix, | ||||
| -readability-magic-numbers, | -readability-magic-numbers, | ||||
| -readability-isolate-declaration, | -readability-isolate-declaration, | ||||
| -readability-convert-member-functions-to-static, | -readability-convert-member-functions-to-static, | ||||
| -readability-implicit-bool-conversion, | -readability-implicit-bool-conversion, | ||||
| -readability-avoid-const-params-in-decls, | -readability-avoid-const-params-in-decls, | ||||
| -readability-simplify-boolean-expr, | -readability-simplify-boolean-expr, | ||||
| -readability-make-member-function-const, | -readability-make-member-function-const, | ||||
| -readability-suspicious-call-argument, | |||||
| -readability-redundant-member-init, | |||||
| -readability-misleading-indentation, | -readability-misleading-indentation, | ||||
| -readability-use-anyofallof, | -readability-use-anyofallof, | ||||
| -readability-function-cognitive-complexity, | -readability-function-cognitive-complexity, | ||||
| bugprone-*, | bugprone-*, | ||||
| -bugprone-narrowing-conversions, | -bugprone-narrowing-conversions, | ||||
| -bugprone-unhandled-self-assignment, | -bugprone-unhandled-self-assignment, | ||||
| -bugprone-branch-clone, | -bugprone-branch-clone, | ||||
| -bugprone-macro-parentheses, | -bugprone-macro-parentheses, | ||||
| -bugprone-reserved-identifier, | -bugprone-reserved-identifier, | ||||
| -bugprone-easily-swappable-parameters, | |||||
| -bugprone-implicit-widening-of-multiplication-result, | |||||
| -bugprone-sizeof-expression, | -bugprone-sizeof-expression, | ||||
| -bugprone-integer-division, | -bugprone-integer-division, | ||||
| -bugprone-redundant-branch-condition, | -bugprone-redundant-branch-condition, | ||||
| modernize-*, | modernize-*, | ||||
| -modernize-use-auto, | -modernize-use-auto, | ||||
| -modernize-use-trailing-return-type, | -modernize-use-trailing-return-type, | ||||
| -modernize-avoid-c-arrays, | -modernize-avoid-c-arrays, | ||||
| -modernize-use-nodiscard, | -modernize-use-nodiscard, | ||||
| -modernize-loop-convert, | -modernize-loop-convert, | ||||
| -modernize-pass-by-value, | -modernize-pass-by-value, | ||||
| # Cannot be enabled yet, because using raw string literals in tests breaks | # Cannot be enabled yet, because using raw string literals in tests breaks | ||||
| # the windows compiler currently. | # the windows compiler currently. | ||||
| -modernize-raw-string-literal | -modernize-raw-string-literal, | ||||
| -modernize-return-braced-init-list | |||||
| CheckOptions: | CheckOptions: | ||||
| - key: modernize-use-default-member-init.UseAssignment | - key: modernize-use-default-member-init.UseAssignment | ||||
| value: 1 | value: 1 | ||||