================
@@ -142,6 +139,13 @@ New checks
   Finds and removes redundant conversions from 
``std::[w|u8|u16|u32]string_view`` to
   ``std::[...]string`` in call expressions expecting ``std::[...]string_view``.
 
+- New :doc:`readability-pointer-to-ref
+  <clang-tidy/checks/readability/pointer-to-ref>` check.
+
+  Finds function parameters that are pointers but are always
+  dereferenced without null checks, suggesting they should be
+  references instead.
+
----------------
EugeneZelenko wrote:

```suggestion
  Finds function parameters that are pointers but are always dereferenced
  without null checks, suggesting they should be references instead.
```

Use as much of 80 characters as possible.

https://github.com/llvm/llvm-project/pull/182068
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to