commit | be21eab7ac6d66d763bedc3a5955d1eaadd5f62d | [log] [tgz] |
---|---|---|
author | Pete Cooper <peter_cooper@apple.com> | Thu Aug 06 20:22:46 2015 +0000 |
committer | Pete Cooper <peter_cooper@apple.com> | Thu Aug 06 20:22:46 2015 +0000 |
tree | b2487cb2441e734a86ba4ec2a65fa15349e49b18 | |
parent | 4752eae71b9d816713cd45c19319fa4bd21bde2c [diff] |
Convert a bunch of loops to foreach. NFC. After r244074, we now have a successors() method to iterate over all the successors of a TerminatorInst. This commit changes a bunch of eligible loops to use it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244260 91177308-0d34-0410-b5e6-96231b3b80d8