Give APInt move semantics.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 2 Mar 2014 20:56:28 +0000 (20:56 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 2 Mar 2014 20:56:28 +0000 (20:56 +0000)
commit3efb8b2c0f95003acfb32b08c3ecc09dcdc9990f
tree33122279158cbbca9826970f06527acc8447ff51
parent833687be0e2c3f38086abcaf1b9fb46d972c97b0
Give APInt move semantics.

The interaction between defaulted operators and move elision isn't
totally obvious, add a unit test so it doesn't break unintentionally.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202662 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/APSInt.h
unittests/ADT/APSIntTest.cpp [new file with mode: 0644]
unittests/ADT/CMakeLists.txt