summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorEd Tanous <ed@tanous.net>2024-03-20 22:27:06 +0300
committerEd Tanous <ed@tanous.net>2024-03-25 21:29:19 +0300
commitf79ce6a8f745f0baa5ba457a5a0c85a9f549893f (patch)
treef0093a63a3fabef73d1bb231d764cc8a53b521c6 /.clang-tidy
parent47f2934cc509e420e5617a96158e76829746b835 (diff)
downloadbmcweb-f79ce6a8f745f0baa5ba457a5a0c85a9f549893f.tar.xz
Enable bugprone clang check
bugprone-multi-level-implicit-pointer-conversion is something that we pass currently, with one exception in the deprecated rest API. Ignore the one exception, as it's not clear how to fix it, and enable the check. Tested: Clang tidy passes. Change-Id: Idc10e0bb7b876e1c70afa28f9c27cc7bef1db0d7 Signed-off-by: Ed Tanous <ed@tanous.net>
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy1
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 71e80a4eed..c7963c089e 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -26,6 +26,7 @@ bugprone-misplaced-operator-in-strlen-in-alloc,
bugprone-misplaced-pointer-arithmetic-in-alloc,
bugprone-misplaced-widening-cast,
bugprone-move-forwarding-reference,
+bugprone-multi-level-implicit-pointer-conversion,
bugprone-multiple-statement-macro,
bugprone-narrowing-conversions,
bugprone-no-escape,