[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
Mon Sep 11 09:21:10 PDT 2023


zygoloid wrote:

Is there some way we can narrow the scope of this patch so we don't lose warnings for normal `snprintf`s, only for the kernel one? If we really can't tell the difference from the source code, we could move the affected warnings to a different warning group instead, so the kernel can turn them off.

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


More information about the cfe-commits mailing list