[clang] [clang] Warn on signed char array constant conversion (PR #203792)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 16 18:16:39 PDT 2026
================
----------------
TPPPP72 wrote:
Looking at the original code `if (CC.isValid() && T->isCharType())`, the type check was already performed upfront.
We should keep the cheap `T->isCharType()` (and the new SChar check) at the very beginning to short-circuit
https://github.com/llvm/llvm-project/pull/203792
More information about the cfe-commits
mailing list