================ @@ -309,6 +309,10 @@ Changes in existing checks - ``for`` loops are supported. +- Improved :doc:`misc-const-correctness + <clang-tidy/checks/misc/const-correctness>` check to avoid false + positives when pointers is tranferred to non-const references. ---------------- localspook wrote:
```suggestion positives when pointers to non-const are bound to references. ``` Since the false positive happens [whether the reference is const or not](https://godbolt.org/z/5zGvrW39n). https://github.com/llvm/llvm-project/pull/160971 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
