[clang-tools-extra] [clang-tidy] Make `bugprone-unhandled-self-assignment` check more general (PR #147066)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 22 23:09:45 PDT 2025


================
@@ -113,7 +113,11 @@ Changes in existing checks
 - Improved :doc:`bugprone-infinite-loop
   <clang-tidy/checks/bugprone/infinite-loop>` check by adding detection for
   variables introduced by structured bindings.
-
+- Improved :doc:`bugprone-unhandled-self-assignment
----------------
vbvictor wrote:

Please place an empty line between entries
```suggestion

- Improved :doc:`bugprone-unhandled-self-assignment
```

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


More information about the cfe-commits mailing list