diff options
author | Ed Tanous <edtanous@google.com> | 2022-01-07 20:32:03 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-01-12 22:00:37 +0300 |
commit | 600d2394cfd3a3a09b126f0570cc66561fd02d31 (patch) | |
tree | 8c41708f83ac2833f07b4f119534629f7a8493e5 /.clang-tidy | |
parent | d3a9e08452986b28c8024de2b0fdb3cadbf4411b (diff) | |
download | bmcweb-600d2394cfd3a3a09b126f0570cc66561fd02d31.tar.xz |
Enable cpp core guidelines macro checks
We only use a couple macros. Ignore them in the checks.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I38feb10f76f6aaea8899617f081c9be68c88b3eb
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 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, |