Need to postpone anlysis of the ranged for loops till the actual instantiation to avoid erroneous emission of error messages. Differential Revision: https://reviews.llvm.org/D114560