[PM] Switch new pass manager from polymorphic_ptr to unique_ptr now that
authorChandler Carruth <chandlerc@gmail.com>
Sun, 9 Mar 2014 11:49:53 +0000 (11:49 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 9 Mar 2014 11:49:53 +0000 (11:49 +0000)
commit15903b7dc5cc31c529010b659eab326fd7565671
tree82d81575fa271917df863d8a10455deacc7e37e7
parentfee1963538a3148f3f31dd91dc9a2cc4ffb40a2d
[PM] Switch new pass manager from polymorphic_ptr to unique_ptr now that
it is available. Also make the move semantics sufficiently correct to
tolerate move-only passes, as the PassManagers *are* move-only passes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203391 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/PassManager.h
lib/IR/PassManager.cpp
tools/opt/Passes.cpp
unittests/IR/PassManagerTest.cpp