[clang-tools-extra] [clang-tidy] cppcoreguidelines-owning-memory: support new expressions through implicit casts (PR #189544)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 31 07:45:22 PDT 2026
================
@@ -283,6 +283,10 @@ Changes in existing checks
<clang-tidy/checks/cppcoreguidelines/missing-std-forward>` check by fixing
a false positive for constrained template parameters.
+- Improved :doc:`cppcoreguidelines-owning-memory
+ <clang-tidy/checks/cppcoreguidelines/owning-memory>` check to detect `new`
----------------
vbvictor wrote:
```suggestion
<clang-tidy/checks/cppcoreguidelines/owning-memory>` check to detect ``new``
```
https://github.com/llvm/llvm-project/pull/189544
More information about the cfe-commits
mailing list