[clang] [analyzer] [MallocChecker] Less aggressive analysis of functions (PR #116383)

Balazs Benics via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 18 05:13:23 PST 2024


steakhal wrote:

Hi, thanks for the report. This is the intended behavior AFAICT.
My question is, why would you ever pass a dangling pointer to a function? I can't think of a valid use-case for doing that. They could just pass a null-pointer if they really wanted.
Am I missing something?

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


More information about the cfe-commits mailing list