commit | 9f2f1650c4ec4c151e2aff052606f0841f556f73 | [log] [tgz] |
---|---|---|
author | Pete Cooper <peter_cooper@apple.com> | Fri Jul 24 21:13:43 2015 +0000 |
committer | Pete Cooper <peter_cooper@apple.com> | Fri Jul 24 21:13:43 2015 +0000 |
tree | 9f7760387249ae0cf6cb636b6c0849441c2255c8 | |
parent | d232d63fa2b13729a1e04b9e9a4d392a0d55c46d [diff] |
Use make_range(rbegin(), rend()) to allow foreach loops. NFC. Instead of the pattern for (auto I = x.rbegin(), E = x.end(); I != E; ++I) we can use make_range to construct the reverse range and iterate using that instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243163 91177308-0d34-0410-b5e6-96231b3b80d8