[clang] [sema] Improve -Wsign-compare (PR #65684)

via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 8 08:47:50 PDT 2023


apple-fcloutier wrote:

FWIW, this is not new behavior: https://godbolt.org/z/Mh1d43vr5

I'm less worried about unsigned -> signed promotions because they still end up evaluating like comparisons of arbitrary-precision integers.

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


More information about the cfe-commits mailing list