[llvm-branch-commits] [clang-tools-extra] [clang-tidy] support pointee mutation check in misc-const-correctness (PR #130494)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Mar 10 07:51:06 PDT 2025


================
@@ -200,6 +223,27 @@ Options
     int *changing_pointee = &value;
     changing_pointee = &result;
 
+.. option:: TransformPointersAsPointers
+
+  Provides fixit-hints for pointers if the value it pointing to is not changed.
----------------
EugeneZelenko wrote:

```suggestion
  Provides fix-it hints for pointers if the value it pointing to is not changed.
```

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


More information about the llvm-branch-commits mailing list