apple-fcloutier wrote: Yes, there's this way and also when you compare integers smaller than `int`, but those don't trigger -Wsign-compare. -Wsign-compare only triggers if a signed operand is converted to an unsigned operand. This is a PR description bug :) https://github.com/llvm/llvm-project/pull/65684