MaskRay wrote:

> This is no longer the case after 
> [N3322](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3322.pdf).
> 
> (Incidentally, I wrote a blog post about this yesterday: 
> [developers.redhat.com/articles/2024/12/11/making-memcpynull-null-0-well-defined](https://developers.redhat.com/articles/2024/12/11/making-memcpynull-null-0-well-defined))

Nice! The next step might be to update glibc string.h `__nonnull`

https://github.com/llvm/llvm-project/pull/119704
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to