From 9159295c3c362f2f09cda8800418f003cfc206e0 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Tue, 23 Nov 2021 19:45:05 +0100 Subject: [PATCH] Clang Tidy: ignore some passes that changed or were added in version 13 I get hundreds of clang-tidy errors without ignoring those passes right now. To not forget about the passes, I added them to T78535. --- .clang-tidy | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index b03163b54b9..1cc0e6e7f4a 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -12,6 +12,8 @@ Checks: > -readability-avoid-const-params-in-decls, -readability-simplify-boolean-expr, -readability-make-member-function-const, + -readability-suspicious-call-argument, + -readability-redundant-member-init, -readability-misleading-indentation, @@ -25,6 +27,8 @@ Checks: > -bugprone-branch-clone, -bugprone-macro-parentheses, -bugprone-reserved-identifier, + -bugprone-easily-swappable-parameters, + -bugprone-implicit-widening-of-multiplication-result, -bugprone-sizeof-expression, -bugprone-integer-division, @@ -40,7 +44,8 @@ Checks: > -modernize-pass-by-value, # Cannot be enabled yet, because using raw string literals in tests breaks # the windows compiler currently. - -modernize-raw-string-literal + -modernize-raw-string-literal, + -modernize-return-braced-init-list CheckOptions: - key: modernize-use-default-member-init.UseAssignment