apple-fcloutier wrote:

IMO, the `< 0` check is fundamentally the right in-place fix to offer, although 
I went back and forth on attaching it to the warning or the note. It's a little 
disappointing that we still need the explicit cast to silence the warning, 
however.

https://github.com/llvm/llvm-project/pull/65684
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to