commit | 31fbd9f7b00356d2128b644b99dc8f9d7f32e976 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sat Feb 28 10:11:12 2015 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sat Feb 28 10:11:12 2015 +0000 |
tree | f28b18ca349c88d73dca9347740830ca663d894f | |
parent | 12d1e53db88a9d68f75b6ff42b59669c7adec7b1 [diff] |
Replace std::copy with a back inserter with vector append where feasible All of the cases were just appending from random access iterators to a vector. Using insert/append can grow the vector to the perfect size directly and moves the growing out of the loop. No intended functionalty change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230845 91177308-0d34-0410-b5e6-96231b3b80d8