[clang-tools-extra] [clang-tidy]add new check `bugprone-compare-pointer-to-member-virtual-function` (PR #66055)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 13 07:50:02 PDT 2023


================
@@ -61,6 +61,6 @@ only advisable to employ ``nullptr`` for comparisons.
 Limitations
 -----------
 
-The check will not analyze values stored in a variable. For variable, the check
-will analyze all virtual methods in the same ``class`` or ``struct`` and diagnose
-when assigning a pointer to member virtual function to this variable is possible.
+Not analyze values stored in a variable. For variable, only analyze all virtual
----------------
PiotrZSL wrote:

maybe "Does not"

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


More information about the cfe-commits mailing list