From f4698fd022ec9ffdad7f9a93cb34b5ade687a57f Mon Sep 17 00:00:00 2001 From: Ryuta Kambe Date: Wed, 11 Dec 2024 19:58:11 +0900 Subject: [PATCH] ci: enable bugprone-* warnings in clang-tidy (#5543) Signed-off-by: Ryuta Kambe --- .clang-tidy-ci | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.clang-tidy-ci b/.clang-tidy-ci index b5928f0473..5bba4fb90f 100644 --- a/.clang-tidy-ci +++ b/.clang-tidy-ci @@ -1,6 +1,17 @@ Checks: " -*, - bugprone-dangling-handle" + bugprone-*, + -bugprone-branch-clone, + -bugprone-easily-swappable-parameters, + -bugprone-exception-escape, + -bugprone-implicit-widening-of-multiplication-result, + -bugprone-infinite-loop, + -bugprone-integer-division, + -bugprone-macro-parentheses, + -bugprone-narrowing-conversions, + -bugprone-parent-virtual-call, + -bugprone-reserved-identifier, + -bugprone-signed-char-misuse" WarningsAsErrors: "*"