[clang-tools-extra] [clang-tidy] Add `bugprone-pointer-arithmetic-on-polymorphic-object` check (PR #91951)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 10 12:49:50 PDT 2024


================
@@ -126,6 +126,11 @@ New checks
   reference. This may cause use-after-free errors if the caller uses xvalues as
   arguments.
 
+- New :doc:`bugprone-pointer-arithmetic-on-polymorphic-object
----------------
PiotrZSL wrote:

add in line 173 info about new alias (check release notes from previous release)

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


More information about the cfe-commits mailing list