summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2022-01-07 20:33:43 +0300
committerEd Tanous <ed@tanous.net>2022-01-12 22:00:37 +0300
commit9b6ffca5c1cafcc5406cf835390153a370dec4f6 (patch)
tree15bf5112dea8e15a623b8d5cb0f9119f064076b4 /.clang-tidy
parent600d2394cfd3a3a09b126f0570cc66561fd02d31 (diff)
downloadbmcweb-9b6ffca5c1cafcc5406cf835390153a370dec4f6.tar.xz
Enable pointer devolution checks
Enable cpp core guidelines checks for pointer deevolution. For the moment, simply ignore the uses, although ideally these should be cleaned up at some point. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I9a8aae94cc7a59529eab89225a37e89628c17597
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 ddf3b641ab..85fc555ac5 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -204,6 +204,7 @@ clang-analyzer-webkit.RefCntblBaseVirtualDtor,
cppcoreguidelines-init-variables,
cppcoreguidelines-interfaces-global-init,
cppcoreguidelines-macro-usage,
+cppcoreguidelines-pro-bounds-array-to-pointer-decay,
cppcoreguidelines-pro-bounds-pointer-arithmetic,
cppcoreguidelines-pro-type-member-init,
cppcoreguidelines-pro-type-reinterpret-cast,