[clang] [Clang] Suppress mismatch warning for same-size pointer/integer casts (PR #203955)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 24 08:43:04 PDT 2026


AaronBallman wrote:

Pre-commit CI test failures are related.

It's still not entirely clear this is a good diagnostic to suppress, this is still undefined behavior at the language level. It's not clear why `-Wno-cast-function-type-mismatch` does not suffice. I've added some more reviewers for additional opinions.

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


More information about the cfe-commits mailing list