[clang] [clang][Sema] Stop format size estimator upon %p to adapt to linux kernel's extension (PR #65969)

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 12 18:35:53 PDT 2023


https://github.com/zygoloid requested changes to this pull request.

This looks like the wrong approach to me. I really think you should be splitting the warning into two parts, so that only the kernel developers see a change in diagnostic output. That would seem to make this patch simpler as well as avoiding a (probably unimportant) regression for all other Clang users.

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


More information about the cfe-commits mailing list