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