OSDN Git Service

[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)
commitf086ef8c8bc8eec1f850d867d2ce1a43da5569e6
treed4c0afe66ed49975a813574826af18682085644c
parente587b6cff82463d92f82d070bc98f07fd60df0f5
[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

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