[clang-tools-extra] [clang-tidy] Improve documentation of bugprone-pointer-arithmetic-on-polymorphic-object (PR #108324)
Mainak Sil via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 12 11:19:29 PDT 2024
================
@@ -19,20 +19,23 @@ Example:
.. code-block:: c++
struct Base {
- virtual void ~Base();
+ virtual ~Base();
+ int i;
};
-
----------------
MainakSil wrote:
Do you mean like this?
![image](https://github.com/user-attachments/assets/9ea57dc0-0820-4147-bf08-ec3bb96f704a)
https://github.com/llvm/llvm-project/pull/108324
More information about the cfe-commits
mailing list