diff options
author | Ed Tanous <edtanous@google.com> | 2022-01-07 20:33:43 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-01-12 22:00:37 +0300 |
commit | 9b6ffca5c1cafcc5406cf835390153a370dec4f6 (patch) | |
tree | 15bf5112dea8e15a623b8d5cb0f9119f064076b4 /.clang-tidy | |
parent | 600d2394cfd3a3a09b126f0570cc66561fd02d31 (diff) | |
download | bmcweb-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-tidy | 1 |
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, |