Simplify PackedVector by removing user-defined special members that aren't any differ...
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 12 Aug 2015 23:26:12 +0000 (23:26 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 12 Aug 2015 23:26:12 +0000 (23:26 +0000)
commit149fe5ef04fc5f3036085233cd1f65b83e49b2e2
tree5277d6c221e3aa599302e10db99bd4935237df09
parent4c12d595707075f400c00f54da56650c9f46b7e3
Simplify PackedVector by removing user-defined special members that aren't any different than the defaults

This causes the other special members (like move and copy construction,
and move assignment) to come through for free. Some code in clang was
depending on the (deprecated, in the original code) copy ctor. Now that
there's no user-defined special members, they're all available without
any deprecation concerns.

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