[ADT] Let MapVector handle non-copyable values.
authorJustin Lebar <jlebar@google.com>
Mon, 10 Oct 2016 16:25:59 +0000 (16:25 +0000)
committerJustin Lebar <jlebar@google.com>
Mon, 10 Oct 2016 16:25:59 +0000 (16:25 +0000)
commit1b782176624c002a94e28d94b0ef3a8a900015d7
tree3a992a3eb88505784babf79a1efdd3e8942b0f7c
parent20e9ddba7349b556e43daab7433f2a3a7c649417
[ADT] Let MapVector handle non-copyable values.

Summary: The keys must still be copyable, because we store two copies of them.

Reviewers: timshen

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D25404

llvm-svn: 283764
llvm/include/llvm/ADT/MapVector.h
llvm/unittests/ADT/MapVectorTest.cpp