From 600d2394cfd3a3a09b126f0570cc66561fd02d31 Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Fri, 7 Jan 2022 09:32:03 -0800 Subject: Enable cpp core guidelines macro checks We only use a couple macros. Ignore them in the checks. Signed-off-by: Ed Tanous Change-Id: I38feb10f76f6aaea8899617f081c9be68c88b3eb --- .clang-tidy | 1 + 1 file changed, 1 insertion(+) (limited to '.clang-tidy') diff --git a/.clang-tidy b/.clang-tidy index 311617baa6..ddf3b641ab 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -203,6 +203,7 @@ clang-analyzer-webkit.NoUncountedMemberChecker, clang-analyzer-webkit.RefCntblBaseVirtualDtor, cppcoreguidelines-init-variables, cppcoreguidelines-interfaces-global-init, +cppcoreguidelines-macro-usage, cppcoreguidelines-pro-bounds-pointer-arithmetic, cppcoreguidelines-pro-type-member-init, cppcoreguidelines-pro-type-reinterpret-cast, -- cgit v1.2.3