summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2022-01-07 20:25:51 +0300
committerEd Tanous <ed@tanous.net>2022-01-12 22:00:37 +0300
commit46ff87bade273c75f71f940c5770d30e7a29595b (patch)
treee9c093a73a4cffda570a14e84908e029010a2d2b /.clang-tidy
parentecd6a3a20ab128ae9d3e356d6250695800dc13be (diff)
downloadbmcweb-46ff87bade273c75f71f940c5770d30e7a29595b.tar.xz
Enable reinterpre_cast checks
We seem to use reinterpret cast in a few cases unfortunately. For the moment, simply ignore most of them, and make it so we don't get more. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: Ic860cf922576b18cdc8d51d6132f5a9cbcc1d9dc
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 8a14cfa695..61f2c68d82 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -202,6 +202,7 @@ clang-analyzer-valist.ValistBase,
clang-analyzer-webkit.NoUncountedMemberChecker,
clang-analyzer-webkit.RefCntblBaseVirtualDtor,
cppcoreguidelines-init-variables,
+cppcoreguidelines-pro-type-reinterpret-cast,
cppcoreguidelines-special-member-functions,
misc-misplaced-const,
#misc-no-recursion,