[clang] [analyzer] MallocChecker – Fix false positive leak for smart pointers in temporary objects (PR #152751)

Balazs Benics via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 9 07:11:01 PDT 2025


================
@@ -52,6 +52,9 @@
 #include "clang/AST/DeclTemplate.h"
 #include "clang/AST/Expr.h"
 #include "clang/AST/ExprCXX.h"
+#include "clang/AST/TemplateBase.h"
+#include "clang/AST/Type.h"
+
----------------
steakhal wrote:

```suggestion
```

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


More information about the cfe-commits mailing list