michael-kenzel wrote:

> [AddressSpace.hpp](https://github.com/llvm/llvm-project/pull/72040/files#diff-dc10e493a84f7de241e331f66a5af195689f08d45a6fd0da90b275a662856327)
>  was using `snprintf` to copy strings into a buffer. I replaced those uses 
> with `strncpy` to remove the need for `<stdio.h>`.

As discussed with @arichardson, I've replaced `strncpy` with `strlen` + 
`memcpy`.

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

Reply via email to