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 | 2a8bef8769ebe355e76060ad964ae95bfaf5eafb (patch) | |
tree | 6fe48a292aa7fedb4f85fd97e0b33fa4a9588a17 /llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h | |
parent | 59838f7ea675e5b3251d730b59325786b3f6e68c (diff) | |
download | bcm5719-llvm-2a8bef8769ebe355e76060ad964ae95bfaf5eafb.tar.gz bcm5719-llvm-2a8bef8769ebe355e76060ad964ae95bfaf5eafb.zip |
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.
llvm-svn: 284721
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h b/llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h index fe99e96eb3b..2a2e3941f82 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h +++ b/llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h @@ -42,13 +42,6 @@ public: : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl(F)), TLI(ST->getTargetLowering()) {} - // Provide value semantics. MSVC requires that we spell all of these out. - WebAssemblyTTIImpl(const WebAssemblyTTIImpl &Arg) - : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI) {} - WebAssemblyTTIImpl(WebAssemblyTTIImpl &&Arg) - : BaseT(std::move(static_cast<BaseT &>(Arg))), ST(std::move(Arg.ST)), - TLI(std::move(Arg.TLI)) {} - /// \name Scalar TTI Implementations /// @{ |