From ca45aa3c416e55027b8d17078bac6493e81d564f Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Fri, 7 Jan 2022 09:28:45 -0800 Subject: Enable checks for pointer arithmetic Quite a few places we've disobeyed this rule, so simply ignore them for now to avoid new issues popping up. Signed-off-by: Ed Tanous Change-Id: I3e518a8e8742279afb3ad1a9dad54006ed109fb1 --- .clang-tidy | 1 + 1 file changed, 1 insertion(+) (limited to '.clang-tidy') diff --git a/.clang-tidy b/.clang-tidy index 61f2c68d82..eae3c722cb 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-bounds-pointer-arithmetic, cppcoreguidelines-pro-type-reinterpret-cast, cppcoreguidelines-special-member-functions, misc-misplaced-const, -- cgit v1.2.3