diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-10-20 12:20:28 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-10-20 12:20:28 +0000 |
commit | 06d5a1641dbdd0bf092d0b2edce5a10abfb61187 (patch) | |
tree | 61f2997f150242a82a4a2978b40983d4d5ecc81d /lib/Target/Lanai | |
parent | 911bb941ce72db74426422a24c9c5f92e95e7889 (diff) |
Do a sweep over move ctors and remove those that are identical to the default.
All of these existed because MSVC 2013 was unable to synthesize default
move ctors. We recently dropped support for it so all that error-prone
boilerplate can go.
No functionality change intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Lanai')
-rw-r--r-- | lib/Target/Lanai/LanaiTargetTransformInfo.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Target/Lanai/LanaiTargetTransformInfo.h b/lib/Target/Lanai/LanaiTargetTransformInfo.h index 6300d2502d6..7fcb3ce45bb 100644 --- a/lib/Target/Lanai/LanaiTargetTransformInfo.h +++ b/lib/Target/Lanai/LanaiTargetTransformInfo.h @@ -41,11 +41,6 @@ public: : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl(F)), TLI(ST->getTargetLowering()) {} - LanaiTTIImpl(const LanaiTTIImpl &Arg) - : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI) {} - LanaiTTIImpl(LanaiTTIImpl &&Arg) - : BaseT(std::move(static_cast<BaseT &>(Arg))), ST(Arg.ST), TLI(Arg.TLI) {} - bool shouldBuildLookupTables() const { return false; } TargetTransformInfo::PopcntSupportKind getPopcntSupport(unsigned TyWidth) { |