[clang] [-Wunsafe-buffer-usage] Warning Libc functions (PR #101583)
Ziqing Luo via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 5 16:59:02 PDT 2024
ziqingluo-90 wrote:
> There needs to be a flag to opt out of this to not break everybody who is currently using unsafe-buffer-usage. #105383 seems to do that, but it really should be in this same PR. Can this be reverted and relanded with the flag?
@aeubanks you should be able to suppress the new warning with `-Wno-unsafe-buffer-usage-in-libc-call`
https://github.com/llvm/llvm-project/pull/101583
More information about the cfe-commits
mailing list