[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
Mon Aug 18 00:38:24 PDT 2025


ivanmurashko wrote:

Hi @steakhal — I believe I have addressed all your comments: I added a test with multiple memory-owning arguments, fixed the misuse of `addTransition` by returning early when post-handlers exist, and simplified `checkPostCall` to about ten lines of code. All tests pass. When you have a moment, please take another look. Thank you!

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


More information about the cfe-commits mailing list