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

via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 20 06:13:37 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
----------------
Discookie wrote:

Added, and added the doc redirect as well.

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


More information about the cfe-commits mailing list