commit | 33bf03ed89750a5ac6583ed4b12e71a8517813f4 | [log] [tgz] |
---|---|---|
author | Pete Cooper <peter_cooper@apple.com> | Wed May 13 22:19:13 2015 +0000 |
committer | Pete Cooper <peter_cooper@apple.com> | Wed May 13 22:19:13 2015 +0000 |
tree | b868f1b2d9f155b959555aa59b59181bdb4c35b1 | |
parent | 0030b52f735ee386db12c2472fc32d2dd1522f18 [diff] |
Add llvm::all_of which wraps std::all_of. This version doesn't need begin/end but can instead just take a type which has begin/end methods. Use this to replace an eligible foreach loop in LoopInfo found by David Blaikie in r237224. Reviewed by David Blaikie. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237301 91177308-0d34-0410-b5e6-96231b3b80d8