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

Ivan Murashko via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 9 12:48:35 PDT 2025


================
@@ -0,0 +1,37 @@
+// RUN: %clang_analyze_cc1 -analyzer-checker=core,cplusplus,unix -verify %s
+// expected-no-diagnostics
+
----------------
ivanmurashko wrote:

Done

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


More information about the cfe-commits mailing list