[clang] [analyzer] Use AllocaRegion in MallocChecker (PR #72402)

via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 28 07:34:28 PST 2023


=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/72402 at github.com>


DonatNagyE wrote:

I'm merging this commit in its current shape because even if I'd reimplement a warning for the "use of `alloc(0)`", I'd do it in a separate commit.

I thought about potential approaches to implement this "use of zero-allocated" warning for the `AllocaRegion`s and it seems to be troublesome, so I lean towards not doing it.

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


More information about the cfe-commits mailing list