OSDN Git Service

Explicitly add move constructor/assignment operators.
authorZachary Turner <zturner@google.com>
Mon, 20 Mar 2017 19:56:52 +0000 (19:56 +0000)
committerZachary Turner <zturner@google.com>
Mon, 20 Mar 2017 19:56:52 +0000 (19:56 +0000)
commit7d6ca05af06c6a94d83793f54f4a62c2fb2dc134
treefcb88121a480b979cf44889bba0ae8b6d6c91f77
parent653b4239a75795334fde6af9722030cc7d886a77
Explicitly add move constructor/assignment operators.

These are needed due to some obscure rules in the standard
about how std::vector selects between copy and move
constructors, which can cause a conforming implementation
to attempt to select the copy constructor of RuleMatcher,
which will fail since std::unique_ptr<> isn't copyable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298294 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/GlobalISelEmitter.cpp