Fix some abuse of auto flagged by clang's -Wrange-loop-analysis.

llvm-svn: 261524
3 files changed