SmallVector: Move emplace_back to SmallVectorImpl.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 7 Feb 2015 16:41:02 +0000 (16:41 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 7 Feb 2015 16:41:02 +0000 (16:41 +0000)
commitff53b757ea15616d70f3bc85c3d8de1723b85179
tree4bff91947ec4dcd12317b36728e0716718256564
parent3281412d2a5b00dc23d2da0ecd9c0da6d326a7aa
SmallVector: Move emplace_back to SmallVectorImpl.

This resolves the strange effect that emplace_back is only available
when the type contained in the vector is not trivially copyable.

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