[PATCH][ADT] Add move-construction and move-assignment from SmallVectorImpl<T> to SmallVector<T,N>.

Lang Hames lhames at gmail.com
Thu Jan 22 15:54:07 PST 2015


Hi All,

The attached patch adds move-construction and move-assignment from
SmallVectorImpl<T> to SmallVector<T, N>. It enables us to move between
SmallVectors of different types, which will allow me to fix one of the most
commented-upon warts from the new JIT APIs.

Unit-test included.

Cheers,
Lang.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150122/d9563a48/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SmallVectorMoveAssignmentFromSmallVectorImpl.patch
Type: application/octet-stream
Size: 4377 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150122/d9563a48/attachment.obj>


More information about the llvm-commits mailing list