vvuksanovic wrote: There have been a couple of issues raised about the `-Walloc-size` diagnostic being emitted for allocations of size zero: - https://github.com/llvm/llvm-project/pull/150028#issuecomment-3228599602 - https://github.com/llvm/llvm-project/issues/155633
I think it makes sense to add an exception in that case, as it is likely done intentionally and just creates unnecessary diagnostics. https://github.com/llvm/llvm-project/pull/155793 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
