"clang/git@repo.hca.bsc.es:rferrer/llvm-epi-0.8.git" did not exist on "1359c1d773808b8468288a8071b36483fee2b7a3"
Silence compiler warning. NFC.
The idiom for (auto i = n - n; i < n; i += 1) was intended to automatically derive the type of i from n (signed/unsigned int) and avoid the 'mixed signed/unsigned comparison' warning. However, almost-always-auto was never used in the LLVM coding style (although we used it in Polly for some time) and I did never intended to use this idiom upstream. PVS Studio may warns about this idiom as 'warning: both sides of operator are equivalent [misc-redundant-expression]'. Remove the use of auto and directly use unsigned. Also see http://llvm.org/PR44768
Loading
Please register or sign in to comment