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.
|
|
|
|
|
2022-05-06 08:41:58 -04:00
|
|
|
# NOTE: No comments in the list below is allowed. Clang-tidy will ignore items after comments in the lists flag list.
|
|
|
|
# This is because the comment is not a valid list item and it will stop parsing flags if a list item is a comment.
|
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,
|
2021-11-23 13:45:05 -05:00
|
|
|
-readability-suspicious-call-argument,
|
|
|
|
-readability-redundant-member-init,
|
2020-06-05 05:37:49 -04:00
|
|
|
-readability-misleading-indentation,
|
2020-07-15 08:23:51 -04:00
|
|
|
-readability-use-anyofallof,
|
2022-05-06 08:47:45 -04:00
|
|
|
-readability-identifier-length,
|
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,
|
2021-11-23 13:45:05 -05:00
|
|
|
-bugprone-easily-swappable-parameters,
|
|
|
|
-bugprone-implicit-widening-of-multiplication-result,
|
2020-06-05 05:37:49 -04:00
|
|
|
|
|
|
|
-bugprone-sizeof-expression,
|
|
|
|
-bugprone-integer-division,
|
|
|
|
|
2020-10-21 03:27:08 -04:00
|
|
|
-bugprone-redundant-branch-condition,
|
|
|
|
|
2022-05-06 08:47:45 -04:00
|
|
|
-bugprone-suspicious-include,
|
|
|
|
|
2020-11-06 06:15:35 -05:00
|
|
|
modernize-*,
|
|
|
|
-modernize-use-auto,
|
|
|
|
-modernize-use-trailing-return-type,
|
|
|
|
-modernize-avoid-c-arrays,
|
|
|
|
-modernize-use-nodiscard,
|
|
|
|
-modernize-loop-convert,
|
|
|
|
-modernize-pass-by-value,
|
2021-11-23 13:45:05 -05:00
|
|
|
-modernize-raw-string-literal,
|
2024-10-01 08:13:40 -04:00
|
|
|
-modernize-return-braced-init-list,
|
|
|
|
|
|
|
|
objc-*
|
2020-11-06 06:15:35 -05:00
|
|
|
|
2021-02-05 08:39:36 -05:00
|
|
|
CheckOptions:
|
|
|
|
- key: modernize-use-default-member-init.UseAssignment
|
|
|
|
value: 1
|