[clang] [clang-tools-extra] [ExprMutation] fix false postives on pointer-to-member operator (PR #166069)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 3 04:23:44 PST 2025


================
@@ -374,7 +369,8 @@ Changes in existing checks
   <clang-tidy/checks/misc/const-correctness>` check to avoid false
   positives when pointers is transferred to non-const references
   and avoid false positives of function pointer and fix false
-  positives on return of non-const pointer.
+  positives on return of non-const pointer and fix false positive on
----------------
vbvictor wrote:

```suggestion
  positives on return of non-const pointer and fix false positives on
```
Since we use `positives on return` already

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


More information about the cfe-commits mailing list