[clang-tools-extra] [wip][clang-tidy] Add new `bugprone-suspicious-pointer-arithmetics-using-sizeof` (`cert-arr39-c`) check (PR #106061)

via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 26 08:46:36 PDT 2024


================
@@ -0,0 +1,30 @@
+//===--- SuspiciousPointerArithmeticsUsingSizeofCheck.h - clang-tidy -*- C++ -*-===//
----------------
whisperity wrote:

This is not fixable without removing the `-*- C++ -*-` part, but that also should be there, because emacs users.

https://github.com/llvm/llvm-project/pull/106061


More information about the cfe-commits mailing list