[ADT] Add move operations to SmallVector<T,N> from SmallVectorImpl<T>.
authorLang Hames <lhames@gmail.com>
Fri, 23 Jan 2015 06:25:17 +0000 (06:25 +0000)
committerLang Hames <lhames@gmail.com>
Fri, 23 Jan 2015 06:25:17 +0000 (06:25 +0000)
commitefd63170c80d3f322f274552a2f04729b7cbb0fb
tree5c378f70a4340bb24a6f158c8483bd0178dfa8c0
parent70b58044efacda99a35e7f44f3dc639a8e114e65
[ADT] Add move operations to SmallVector<T,N> from SmallVectorImpl<T>.

This makes it possible to move between SmallVectors of different sizes.

Thanks to Dave Blaikie and Duncan Smith for patch feedback.

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