SmallVector: More movable improvements - don't copy elements to make space when inser...
authorDavid Blaikie <dblaikie@gmail.com>
Sun, 8 Jun 2014 19:12:31 +0000 (19:12 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sun, 8 Jun 2014 19:12:31 +0000 (19:12 +0000)
commit62dd1181350947670d6cfe0d338c63322d45cef0
tree8b693647223faf0435780fa6d2a85ea97bedc982
parentaa72ac7dadf8b52506e6ae4695026f55464b043a
SmallVector: More movable improvements - don't copy elements to make space when inserting repeated elements.

Also split and improve tests a bit.

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