[PM] Switch tihs code to use a range based for loop over the function.
authorChandler Carruth <chandlerc@gmail.com>
Sat, 24 Jan 2015 10:57:19 +0000 (10:57 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 24 Jan 2015 10:57:19 +0000 (10:57 +0000)
commit5999806dafb60f0dfc1b012234f906fdcf7f37d9
treec96bb8d3233bbd4304cee0cee7152b78695fd2b2
parentfa50a1f2d5141d518f258e76750f65c7a3529a3f
[PM] Switch tihs code to use a range based for loop over the function.

We can't switch the loop over the instructions because it needs to
early-increment the iterator.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226996 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LowerExpectIntrinsic.cpp