Fix SmallVector's insert to handle non-random-access iterators.
authorDan Gohman <gohman@apple.com>
Fri, 26 Mar 2010 18:53:37 +0000 (18:53 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 26 Mar 2010 18:53:37 +0000 (18:53 +0000)
commita7a33fd95f15428b7030ef1b764fcf924d5199c8
tree9a70776d5e93a1975d7303bf43ce8ee723c9d62f
parent9a52d0c352c852dc9517430442afc54f53e1d4dd
Fix SmallVector's insert to handle non-random-access iterators.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99633 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/SmallVector.h
unittests/ADT/SmallVectorTest.cpp