[clang-tools-extra] [clang-tidy] Fix invalid fixit from modernize-use-ranges for nullptr used with std::unique_ptr (PR #127162)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 14 02:05:59 PST 2025


================
@@ -109,6 +109,9 @@ Changes in existing checks
 - Improved :doc:`misc-redundant-expression
   <clang-tidy/checks/misc/redundant-expression>` check by providing additional
   examples and fixing some macro related false positives.
+  
+- Fixed a false positive in :doc:`modernize-use-ranges
----------------
vbvictor wrote:

```suggestion
- Improved :doc:`modernize-use-ranges
```
I think we should stick to uniform style of ReleaseNotes, example can be found [here](https://releases.llvm.org/19.1.0/tools/clang/tools/extra/docs/ReleaseNotes.html). 

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


More information about the cfe-commits mailing list