<div dir="ltr">I'm getting a build failure on macOS using the system clang after this commit:<br><br>[100%] Linking CXX executable ../../bin/opt<br>Undefined symbols for architecture x86_64:<br> "llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>::PassManager(llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>&&)", referenced from:<br> llvm::PassBuilder::parseModulePass(llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> >&, llvm::PassBuilder::PipelineElement const&, bool, bool) in libLLVMPasses.a(PassBuilder.cpp.o)<br> llvm::ModuleToPostOrderCGSCCPassAdaptor<llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&> > llvm::createModuleToPostOrderCGSCCPassAdaptor<llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&> >(llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>, bool) in libLLVMPasses.a(PassBuilder.cpp.o)<br> llvm::PassBuilder::parseCGSCCPass(llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>&, llvm::PassBuilder::PipelineElement const&, bool, bool) in libLLVMPasses.a(PassBuilder.cpp.o)<br> void llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>::addPass<llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&> >(llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>) in libLLVMPasses.a(PassBuilder.cpp.o)<br> llvm::RepeatedPass<llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&> > llvm::createRepeatedPass<llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&> >(int, llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>) in libLLVMPasses.a(PassBuilder.cpp.o)<br> llvm::ModuleToPostOrderCGSCCPassAdaptor<llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&> >::ModuleToPostOrderCGSCCPassAdaptor(llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>, bool) in libLLVMPasses.a(PassBuilder.cpp.o)<br> llvm::ModuleToPostOrderCGSCCPassAdaptor<llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&> >::ModuleToPostOrderCGSCCPassAdaptor(llvm::ModuleToPostOrderCGSCCPassAdaptor<llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&> >&&) in libLLVMPasses.a(PassBuilder.cpp.o)<br> ...<br> "llvm::PassManager<llvm::Loop, llvm::AnalysisManager<llvm::Loop> >::PassManager(llvm::PassManager<llvm::Loop, llvm::AnalysisManager<llvm::Loop> >&&)", referenced from:<br> llvm::PassBuilder::parseFunctionPass(llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function> >&, llvm::PassBuilder::PipelineElement const&, bool, bool) in libLLVMPasses.a(PassBuilder.cpp.o)<br> llvm::FunctionToLoopPassAdaptor<llvm::PassManager<llvm::Loop, llvm::AnalysisManager<llvm::Loop> > > llvm::createFunctionToLoopPassAdaptor<llvm::PassManager<llvm::Loop, llvm::AnalysisManager<llvm::Loop> > >(llvm::PassManager<llvm::Loop, llvm::AnalysisManager<llvm::Loop> >) in libLLVMPasses.a(PassBuilder.cpp.o)<br> llvm::PassBuilder::parseLoopPass(llvm::PassManager<llvm::Loop, llvm::AnalysisManager<llvm::Loop> >&, llvm::PassBuilder::PipelineElement const&, bool, bool) in libLLVMPasses.a(PassBuilder.cpp.o)<br> void llvm::PassManager<llvm::Loop, llvm::AnalysisManager<llvm::Loop> >::addPass<llvm::PassManager<llvm::Loop, llvm::AnalysisManager<llvm::Loop> > >(llvm::PassManager<llvm::Loop, llvm::AnalysisManager<llvm::Loop> >) in libLLVMPasses.a(PassBuilder.cpp.o)<br> llvm::RepeatedPass<llvm::PassManager<llvm::Loop, llvm::AnalysisManager<llvm::Loop> > > llvm::createRepeatedPass<llvm::PassManager<llvm::Loop, llvm::AnalysisManager<llvm::Loop> > >(int, llvm::PassManager<llvm::Loop, llvm::AnalysisManager<llvm::Loop> >) in libLLVMPasses.a(PassBuilder.cpp.o)<br> llvm::FunctionToLoopPassAdaptor<llvm::PassManager<llvm::Loop, llvm::AnalysisManager<llvm::Loop> > >::FunctionToLoopPassAdaptor(llvm::PassManager<llvm::Loop, llvm::AnalysisManager<llvm::Loop> >) in libLLVMPasses.a(PassBuilder.cpp.o)<br> llvm::FunctionToLoopPassAdaptor<llvm::PassManager<llvm::Loop, llvm::AnalysisManager<llvm::Loop> > >::FunctionToLoopPassAdaptor(llvm::FunctionToLoopPassAdaptor<llvm::PassManager<llvm::Loop, llvm::AnalysisManager<llvm::Loop> > >&&) in libLLVMPasses.a(PassBuilder.cpp.o)<br> ...<br> "llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> >::PassManager(llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> >&&)", referenced from:<br> llvm::PassBuilder::parseModulePass(llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> >&, llvm::PassBuilder::PipelineElement const&, bool, bool) in libLLVMPasses.a(PassBuilder.cpp.o)<br> void llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> >::addPass<llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> > >(llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> >) in libLLVMPasses.a(PassBuilder.cpp.o)<br> llvm::RepeatedPass<llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> > > llvm::createRepeatedPass<llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> > >(int, llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> >) in libLLVMPasses.a(PassBuilder.cpp.o)<br> llvm::detail::PassModel<llvm::Module, llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> >, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module> >::PassModel(llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> >) in libLLVMPasses.a(PassBuilder.cpp.o)<br> llvm::RepeatedPass<llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> > >::RepeatedPass(int, llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> >) in libLLVMPasses.a(PassBuilder.cpp.o)<br> llvm::RepeatedPass<llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> > >::RepeatedPass(llvm::RepeatedPass<llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> > >&&) in libLLVMPasses.a(PassBuilder.cpp.o)<br> "llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function> >::PassManager(llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function> >&&)", referenced from:<br> llvm::PassBuilder::addPerModuleDefaultPipeline(llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> >&, llvm::PassBuilder::OptimizationLevel, bool) in libLLVMPasses.a(PassBuilder.cpp.o)<br> llvm::ModuleToFunctionPassAdaptor<llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function> > > llvm::createModuleToFunctionPassAdaptor<llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function> > >(llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function> >) in libLLVMPasses.a(PassBuilder.cpp.o)<br> llvm::PassBuilder::addLTODefaultPipeline(llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> >&, llvm::PassBuilder::OptimizationLevel, bool) in libLLVMPasses.a(PassBuilder.cpp.o)<br> llvm::PassBuilder::parseModulePass(llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module> >&, llvm::PassBuilder::PipelineElement const&, bool, bool) in libLLVMPasses.a(PassBuilder.cpp.o)<br> llvm::PassBuilder::parseCGSCCPass(llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>&, llvm::PassBuilder::PipelineElement const&, bool, bool) in libLLVMPasses.a(PassBuilder.cpp.o)<br> llvm::CGSCCToFunctionPassAdaptor<llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function> > > llvm::createCGSCCToFunctionPassAdaptor<llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function> > >(llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function> >, bool) in libLLVMPasses.a(PassBuilder.cpp.o)<br> llvm::PassBuilder::parseFunctionPass(llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function> >&, llvm::PassBuilder::PipelineElement const&, bool, bool) in libLLVMPasses.a(PassBuilder.cpp.o)<br> ...<br>ld: symbol(s) not found for architecture x86_64<br>clang: error: linker command failed with exit code 1 (use -v to see invocation)<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 20, 2016 at 6:20 AM, Benjamin Kramer via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: d0k<br>
Date: Thu Oct 20 07:20:28 2016<br>
New Revision: 284721<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=284721&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project?rev=284721&view=rev</a><br>
Log:<br>
Do a sweep over move ctors and remove those that are identical to the default.<br>
<br>
All of these existed because MSVC 2013 was unable to synthesize default<br>
move ctors. We recently dropped support for it so all that error-prone<br>
boilerplate can go.<br>
<br>
No functionality change intended.<br>
<br>
Modified:<br>
llvm/trunk/include/llvm/<wbr>Analysis/AliasAnalysis.h<br>
llvm/trunk/include/llvm/<wbr>Analysis/AssumptionCache.h<br>
llvm/trunk/include/llvm/<wbr>Analysis/DependenceAnalysis.h<br>
llvm/trunk/include/llvm/<wbr>Analysis/LoopAccessAnalysis.h<br>
llvm/trunk/include/llvm/<wbr>Analysis/LoopPassManager.h<br>
llvm/trunk/include/llvm/<wbr>Analysis/PostDominators.h<br>
llvm/trunk/include/llvm/<wbr>Analysis/ProfileSummaryInfo.h<br>
llvm/trunk/include/llvm/<wbr>Analysis/ScalarEvolution.h<br>
llvm/trunk/include/llvm/<wbr>Analysis/ScopedNoAliasAA.h<br>
llvm/trunk/include/llvm/<wbr>Analysis/TargetLibraryInfo.h<br>
llvm/trunk/include/llvm/<wbr>Analysis/<wbr>TargetTransformInfoImpl.h<br>
llvm/trunk/include/llvm/<wbr>Analysis/<wbr>TypeBasedAliasAnalysis.h<br>
llvm/trunk/include/llvm/<wbr>Bitcode/BitstreamReader.h<br>
llvm/trunk/include/llvm/<wbr>CodeGen/BasicTTIImpl.h<br>
llvm/trunk/include/llvm/<wbr>ExecutionEngine/Orc/<wbr>CompileOnDemandLayer.h<br>
llvm/trunk/include/llvm/<wbr>ExecutionEngine/Orc/RPCUtils.h<br>
llvm/trunk/include/llvm/IR/<wbr>DebugLoc.h<br>
llvm/trunk/include/llvm/IR/<wbr>Dominators.h<br>
llvm/trunk/include/llvm/IR/<wbr>ModuleSummaryIndex.h<br>
llvm/trunk/include/llvm/IR/<wbr>PassManager.h<br>
llvm/trunk/include/llvm/IR/<wbr>UseListOrder.h<br>
llvm/trunk/include/llvm/LTO/<wbr>Config.h<br>
llvm/trunk/include/llvm/<wbr>Object/ArchiveWriter.h<br>
llvm/trunk/include/llvm/<wbr>ProfileData/Coverage/<wbr>CoverageMapping.h<br>
llvm/trunk/include/llvm/<wbr>Support/SourceMgr.h<br>
llvm/trunk/include/llvm/<wbr>Transforms/InstCombine/<wbr>InstCombine.h<br>
llvm/trunk/include/llvm/<wbr>Transforms/InstCombine/<wbr>InstCombineWorklist.h<br>
llvm/trunk/include/llvm/<wbr>Transforms/Scalar/<wbr>JumpThreading.h<br>
llvm/trunk/include/llvm/<wbr>Transforms/Utils/<wbr>ImportedFunctionsInliningStati<wbr>stics.h<br>
llvm/trunk/include/llvm/<wbr>Transforms/Utils/MemorySSA.h<br>
llvm/trunk/include/llvm/<wbr>Transforms/Utils/<wbr>SymbolRewriter.h<br>
llvm/trunk/lib/Analysis/<wbr>StratifiedSets.h<br>
llvm/trunk/lib/<wbr>ExecutionEngine/<wbr>GDBRegistrationListener.cpp<br>
llvm/trunk/lib/<wbr>ExecutionEngine/Interpreter/<wbr>Interpreter.h<br>
llvm/trunk/lib/Support/<wbr>SpecialCaseList.cpp<br>
llvm/trunk/lib/Target/AArch64/<wbr>AArch64TargetTransformInfo.h<br>
llvm/trunk/lib/Target/AMDGPU/<wbr>AMDGPUTargetTransformInfo.h<br>
llvm/trunk/lib/Target/ARM/<wbr>ARMTargetTransformInfo.h<br>
llvm/trunk/lib/Target/Hexagon/<wbr>HexagonTargetTransformInfo.h<br>
llvm/trunk/lib/Target/Lanai/<wbr>LanaiTargetTransformInfo.h<br>
llvm/trunk/lib/Target/NVPTX/<wbr>NVPTXTargetTransformInfo.h<br>
llvm/trunk/lib/Target/PowerPC/<wbr>PPCTargetTransformInfo.h<br>
llvm/trunk/lib/Target/SystemZ/<wbr>SystemZTargetTransformInfo.h<br>
llvm/trunk/lib/Target/<wbr>WebAssembly/<wbr>WebAssemblyTargetTransformInfo<wbr>.h<br>
llvm/trunk/lib/Target/X86/<wbr>X86TargetTransformInfo.h<br>
llvm/trunk/lib/Target/XCore/<wbr>XCoreTargetTransformInfo.h<br>
llvm/trunk/lib/Transforms/<wbr>Utils/ValueMapper.cpp<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Analysis/AliasAnalysis.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/AliasAnalysis.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/AliasAnalysis.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Analysis/AliasAnalysis.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Analysis/AliasAnalysis.h Thu Oct 20 07:20:28 2016<br>
@@ -854,20 +854,6 @@ class AAManager : public AnalysisInfoMix<br>
public:<br>
typedef AAResults Result;<br>
<br>
- // This type has value semantics. We have to spell these out because MSVC<br>
- // won't synthesize them.<br>
- AAManager() {}<br>
- AAManager(AAManager &&Arg) : ResultGetters(std::move(Arg.<wbr>ResultGetters)) {}<br>
- AAManager(const AAManager &Arg) : ResultGetters(Arg.<wbr>ResultGetters) {}<br>
- AAManager &operator=(AAManager &&RHS) {<br>
- ResultGetters = std::move(RHS.ResultGetters);<br>
- return *this;<br>
- }<br>
- AAManager &operator=(const AAManager &RHS) {<br>
- ResultGetters = RHS.ResultGetters;<br>
- return *this;<br>
- }<br>
-<br>
/// Register a specific AA result.<br>
template <typename AnalysisT> void registerFunctionAnalysis() {<br>
ResultGetters.push_back(&<wbr>getFunctionAAResultImpl<<wbr>AnalysisT>);<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Analysis/AssumptionCache.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/AssumptionCache.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/AssumptionCache.<wbr>h?rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Analysis/AssumptionCache.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Analysis/AssumptionCache.h Thu Oct 20 07:20:28 2016<br>
@@ -100,12 +100,6 @@ class AssumptionAnalysis : public Analys<br>
public:<br>
typedef AssumptionCache Result;<br>
<br>
- AssumptionAnalysis() {}<br>
- AssumptionAnalysis(const AssumptionAnalysis &Arg) {}<br>
- AssumptionAnalysis(<wbr>AssumptionAnalysis &&Arg) {}<br>
- AssumptionAnalysis &operator=(const AssumptionAnalysis &RHS) { return *this; }<br>
- AssumptionAnalysis &operator=(AssumptionAnalysis &&RHS) { return *this; }<br>
-<br>
AssumptionCache run(Function &F, FunctionAnalysisManager &) {<br>
return AssumptionCache(F);<br>
}<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Analysis/DependenceAnalysis.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/DependenceAnalysis.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/<wbr>DependenceAnalysis.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Analysis/DependenceAnalysis.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Analysis/DependenceAnalysis.h Thu Oct 20 07:20:28 2016<br>
@@ -70,13 +70,8 @@ template <typename T> class ArrayRef;<br>
/// itelf.<br>
class Dependence {<br>
protected:<br>
- Dependence(const Dependence &) = default;<br>
-<br>
- // FIXME: When we move to MSVC 2015 as the base compiler for Visual Studio<br>
- // support, uncomment this line to allow a defaulted move constructor for<br>
- // Dependence. Currently, FullDependence relies on the copy constructor, but<br>
- // that is acceptable given the triviality of the class.<br>
- // Dependence(Dependence &&) = default;<br>
+ Dependence(Dependence &&) = default;<br>
+ Dependence &operator=(Dependence &&) = default;<br>
<br>
public:<br>
Dependence(Instruction *Source,<br>
@@ -222,11 +217,6 @@ template <typename T> class ArrayRef;<br>
FullDependence(Instruction *Src, Instruction *Dst, bool LoopIndependent,<br>
unsigned Levels);<br>
<br>
- FullDependence(FullDependence &&RHS)<br>
- : Dependence(std::move(RHS)), Levels(RHS.Levels),<br>
- LoopIndependent(RHS.<wbr>LoopIndependent), Consistent(RHS.Consistent),<br>
- DV(std::move(RHS.DV)) {}<br>
-<br>
/// isLoopIndependent - Returns true if this is a loop-independent<br>
/// dependence.<br>
bool isLoopIndependent() const override { return LoopIndependent; }<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Analysis/LoopAccessAnalysis.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/LoopAccessAnalysis.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/<wbr>LoopAccessAnalysis.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Analysis/LoopAccessAnalysis.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Analysis/LoopAccessAnalysis.h Thu Oct 20 07:20:28 2016<br>
@@ -518,38 +518,6 @@ public:<br>
LoopAccessInfo(Loop *L, ScalarEvolution *SE, const TargetLibraryInfo *TLI,<br>
AliasAnalysis *AA, DominatorTree *DT, LoopInfo *LI);<br>
<br>
- // FIXME:<br>
- // Hack for MSVC 2013 which sems like it can't synthesize this even<br>
- // with default keyword:<br>
- // LoopAccessInfo(LoopAccessInfo &&LAI) = default;<br>
- LoopAccessInfo(LoopAccessInfo &&LAI)<br>
- : PSE(std::move(LAI.PSE)), PtrRtChecking(std::move(LAI.<wbr>PtrRtChecking)),<br>
- DepChecker(std::move(LAI.<wbr>DepChecker)), TheLoop(LAI.TheLoop),<br>
- NumLoads(LAI.NumLoads), NumStores(LAI.NumStores),<br>
- MaxSafeDepDistBytes(LAI.<wbr>MaxSafeDepDistBytes), CanVecMem(LAI.CanVecMem),<br>
- StoreToLoopInvariantAddress(<wbr>LAI.<wbr>StoreToLoopInvariantAddress),<br>
- Report(std::move(LAI.Report)),<br>
- SymbolicStrides(std::move(LAI.<wbr>SymbolicStrides)),<br>
- StrideSet(std::move(LAI.<wbr>StrideSet)) {}<br>
- // LoopAccessInfo &operator=(LoopAccessInfo &&LAI) = default;<br>
- LoopAccessInfo &operator=(LoopAccessInfo &&LAI) {<br>
- assert(this != &LAI);<br>
-<br>
- PSE = std::move(LAI.PSE);<br>
- PtrRtChecking = std::move(LAI.PtrRtChecking);<br>
- DepChecker = std::move(LAI.DepChecker);<br>
- TheLoop = LAI.TheLoop;<br>
- NumLoads = LAI.NumLoads;<br>
- NumStores = LAI.NumStores;<br>
- MaxSafeDepDistBytes = LAI.MaxSafeDepDistBytes;<br>
- CanVecMem = LAI.CanVecMem;<br>
- StoreToLoopInvariantAddress = LAI.<wbr>StoreToLoopInvariantAddress;<br>
- Report = std::move(LAI.Report);<br>
- SymbolicStrides = std::move(LAI.SymbolicStrides)<wbr>;<br>
- StrideSet = std::move(LAI.StrideSet);<br>
- return *this;<br>
- }<br>
-<br>
/// Return true we can analyze the memory accesses in the loop and there are<br>
/// no memory dependence cycles.<br>
bool canVectorizeMemory() const { return CanVecMem; }<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Analysis/LoopPassManager.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/LoopPassManager.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/LoopPassManager.<wbr>h?rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Analysis/LoopPassManager.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Analysis/LoopPassManager.h Thu Oct 20 07:20:28 2016<br>
@@ -64,21 +64,6 @@ class FunctionToLoopPassAdaptor<br>
public:<br>
explicit FunctionToLoopPassAdaptor(<wbr>LoopPassT Pass)<br>
: Pass(std::move(Pass)) {}<br>
- // We have to explicitly define all the special member functions because MSVC<br>
- // refuses to generate them.<br>
- FunctionToLoopPassAdaptor(<wbr>const FunctionToLoopPassAdaptor &Arg)<br>
- : Pass(Arg.Pass) {}<br>
- FunctionToLoopPassAdaptor(<wbr>FunctionToLoopPassAdaptor &&Arg)<br>
- : Pass(std::move(Arg.Pass)) {}<br>
- friend void swap(FunctionToLoopPassAdaptor &LHS,<br>
- FunctionToLoopPassAdaptor &RHS) {<br>
- using std::swap;<br>
- swap(LHS.Pass, RHS.Pass);<br>
- }<br>
- FunctionToLoopPassAdaptor &operator=(<wbr>FunctionToLoopPassAdaptor RHS) {<br>
- swap(*this, RHS);<br>
- return *this;<br>
- }<br>
<br>
/// \brief Runs the loop passes across every loop in the function.<br>
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM) {<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Analysis/PostDominators.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/PostDominators.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/PostDominators.<wbr>h?rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Analysis/PostDominators.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Analysis/PostDominators.h Thu Oct 20 07:20:28 2016<br>
@@ -26,14 +26,6 @@ struct PostDominatorTree : public Domina<br>
typedef DominatorTreeBase<BasicBlock> Base;<br>
<br>
PostDominatorTree() : DominatorTreeBase<BasicBlock>(<wbr>true) {}<br>
-<br>
- PostDominatorTree(<wbr>PostDominatorTree &&Arg)<br>
- : Base(std::move(static_cast<<wbr>Base &>(Arg))) {}<br>
-<br>
- PostDominatorTree &operator=(PostDominatorTree &&RHS) {<br>
- Base::operator=(std::move(<wbr>static_cast<Base &>(RHS)));<br>
- return *this;<br>
- }<br>
};<br>
<br>
/// \brief Analysis pass which computes a \c PostDominatorTree.<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Analysis/ProfileSummaryInfo.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/ProfileSummaryInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/<wbr>ProfileSummaryInfo.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Analysis/ProfileSummaryInfo.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Analysis/ProfileSummaryInfo.h Thu Oct 20 07:20:28 2016<br>
@@ -86,16 +86,6 @@ class ProfileSummaryAnalysis<br>
public:<br>
typedef ProfileSummaryInfo Result;<br>
<br>
- ProfileSummaryAnalysis() {}<br>
- ProfileSummaryAnalysis(const ProfileSummaryAnalysis &Arg) {}<br>
- ProfileSummaryAnalysis(<wbr>ProfileSummaryAnalysis &&Arg) {}<br>
- ProfileSummaryAnalysis &operator=(const ProfileSummaryAnalysis &RHS) {<br>
- return *this;<br>
- }<br>
- ProfileSummaryAnalysis &operator=(<wbr>ProfileSummaryAnalysis &&RHS) {<br>
- return *this;<br>
- }<br>
-<br>
Result run(Module &M, ModuleAnalysisManager &);<br>
<br>
private:<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Analysis/ScalarEvolution.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/ScalarEvolution.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/ScalarEvolution.<wbr>h?rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Analysis/ScalarEvolution.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Analysis/ScalarEvolution.h Thu Oct 20 07:20:28 2016<br>
@@ -609,22 +609,6 @@ private:<br>
std::unique_ptr<<wbr>SCEVUnionPredicate> Predicate)<br>
: ExitingBlock(ExitingBlock), ExactNotTaken(ExactNotTaken),<br>
Predicate(std::move(Predicate)<wbr>) {}<br>
-<br>
- // Clang builds fine without this, but MSVC does not.<br>
- ExitNotTakenInfo(const ExitNotTakenInfo &) = delete;<br>
-<br>
- ExitNotTakenInfo(<wbr>ExitNotTakenInfo &&Other) {<br>
- ExitingBlock = std::move(Other.ExitingBlock);<br>
- ExactNotTaken = std::move(Other.ExactNotTaken)<wbr>;<br>
- Predicate = std::move(Other.Predicate);<br>
- }<br>
-<br>
- ExitNotTakenInfo &operator=(ExitNotTakenInfo &&Other) {<br>
- ExitingBlock = std::move(Other.ExitingBlock);<br>
- ExactNotTaken = std::move(Other.ExactNotTaken)<wbr>;<br>
- Predicate = std::move(Other.Predicate);<br>
- return *this;<br>
- }<br>
};<br>
<br>
/// Information about the backedge-taken count of a loop. This currently<br>
@@ -653,18 +637,8 @@ private:<br>
public:<br>
BackedgeTakenInfo() : MaxAndComplete(nullptr, 0) {}<br>
<br>
- BackedgeTakenInfo(const BackedgeTakenInfo &) = delete;<br>
-<br>
- BackedgeTakenInfo(<wbr>BackedgeTakenInfo &&Other) {<br>
- ExitNotTaken = std::move(Other.ExitNotTaken);<br>
- MaxAndComplete = std::move(Other.<wbr>MaxAndComplete);<br>
- }<br>
-<br>
- BackedgeTakenInfo &operator=(BackedgeTakenInfo &&Other) {<br>
- ExitNotTaken = std::move(Other.ExitNotTaken);<br>
- MaxAndComplete = std::move(Other.<wbr>MaxAndComplete);<br>
- return *this;<br>
- }<br>
+ BackedgeTakenInfo(<wbr>BackedgeTakenInfo &&) = default;<br>
+ BackedgeTakenInfo &operator=(BackedgeTakenInfo &&) = default;<br>
<br>
typedef std::pair<BasicBlock *, ExitLimit> EdgeExitInfo;<br>
<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Analysis/ScopedNoAliasAA.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/ScopedNoAliasAA.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/ScopedNoAliasAA.<wbr>h?rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Analysis/ScopedNoAliasAA.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Analysis/ScopedNoAliasAA.h Thu Oct 20 07:20:28 2016<br>
@@ -27,10 +27,6 @@ class ScopedNoAliasAAResult : public AAR<br>
friend AAResultBase<<wbr>ScopedNoAliasAAResult>;<br>
<br>
public:<br>
- explicit ScopedNoAliasAAResult() : AAResultBase() {}<br>
- ScopedNoAliasAAResult(<wbr>ScopedNoAliasAAResult &&Arg)<br>
- : AAResultBase(std::move(Arg)) {}<br>
-<br>
/// Handle invalidation events from the new pass manager.<br>
///<br>
/// By definition, this result is stateless and so remains valid.<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Analysis/TargetLibraryInfo.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/TargetLibraryInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/<wbr>TargetLibraryInfo.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Analysis/TargetLibraryInfo.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Analysis/TargetLibraryInfo.h Thu Oct 20 07:20:28 2016<br>
@@ -297,15 +297,6 @@ public:<br>
TargetLibraryAnalysis(<wbr>TargetLibraryInfoImpl PresetInfoImpl)<br>
: PresetInfoImpl(std::move(<wbr>PresetInfoImpl)) {}<br>
<br>
- // Move semantics. We spell out the constructors for MSVC.<br>
- TargetLibraryAnalysis(<wbr>TargetLibraryAnalysis &&Arg)<br>
- : PresetInfoImpl(std::move(Arg.<wbr>PresetInfoImpl)), Impls(std::move(Arg.Impls)) {}<br>
- TargetLibraryAnalysis &operator=(<wbr>TargetLibraryAnalysis &&RHS) {<br>
- PresetInfoImpl = std::move(RHS.PresetInfoImpl);<br>
- Impls = std::move(RHS.Impls);<br>
- return *this;<br>
- }<br>
-<br>
TargetLibraryInfo run(Module &M, ModuleAnalysisManager &);<br>
TargetLibraryInfo run(Function &F, FunctionAnalysisManager &);<br>
<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Analysis/<wbr>TargetTransformInfoImpl.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/TargetTransformInfoImpl.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/<wbr>TargetTransformInfoImpl.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Analysis/<wbr>TargetTransformInfoImpl.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Analysis/<wbr>TargetTransformInfoImpl.h Thu Oct 20 07:20:28 2016<br>
@@ -435,12 +435,6 @@ protected:<br>
explicit TargetTransformInfoImplCRTPBas<wbr>e(const DataLayout &DL) : BaseT(DL) {}<br>
<br>
public:<br>
- // Provide value semantics. MSVC requires that we spell all of these out.<br>
- TargetTransformInfoImplCRTPBas<wbr>e(const TargetTransformInfoImplCRTPBas<wbr>e &Arg)<br>
- : BaseT(static_cast<const BaseT &>(Arg)) {}<br>
- TargetTransformInfoImplCRTPBas<wbr>e(<wbr>TargetTransformInfoImplCRTPBas<wbr>e &&Arg)<br>
- : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))) {}<br>
-<br>
using BaseT::getCallCost;<br>
<br>
unsigned getCallCost(const Function *F, int NumArgs) {<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Analysis/<wbr>TypeBasedAliasAnalysis.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/TypeBasedAliasAnalysis.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/<wbr>TypeBasedAliasAnalysis.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Analysis/<wbr>TypeBasedAliasAnalysis.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Analysis/<wbr>TypeBasedAliasAnalysis.h Thu Oct 20 07:20:28 2016<br>
@@ -27,9 +27,6 @@ class TypeBasedAAResult : public AAResul<br>
friend AAResultBase<<wbr>TypeBasedAAResult>;<br>
<br>
public:<br>
- explicit TypeBasedAAResult() {}<br>
- TypeBasedAAResult(<wbr>TypeBasedAAResult &&Arg) : AAResultBase(std::move(Arg)) {}<br>
-<br>
/// Handle invalidation events from the new pass manager.<br>
///<br>
/// By definition, this result is stateless and so remains valid.<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Bitcode/BitstreamReader.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Bitcode/BitstreamReader.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Bitcode/BitstreamReader.<wbr>h?rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Bitcode/BitstreamReader.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Bitcode/BitstreamReader.h Thu Oct 20 07:20:28 2016<br>
@@ -58,9 +58,6 @@ private:<br>
/// information in the BlockInfo block. Only llvm-bcanalyzer uses this.<br>
bool IgnoreBlockInfoNames;<br>
<br>
- BitstreamReader(const BitstreamReader&) = delete;<br>
- void operator=(const BitstreamReader&) = delete;<br>
-<br>
public:<br>
BitstreamReader() : IgnoreBlockInfoNames(true) {<br>
}<br>
@@ -73,18 +70,6 @@ public:<br>
BitstreamReader(std::unique_<wbr>ptr<MemoryObject> BitcodeBytes)<br>
: BitcodeBytes(std::move(<wbr>BitcodeBytes)), IgnoreBlockInfoNames(true) {}<br>
<br>
- BitstreamReader(<wbr>BitstreamReader &&Other) {<br>
- *this = std::move(Other);<br>
- }<br>
-<br>
- BitstreamReader &operator=(BitstreamReader &&Other) {<br>
- BitcodeBytes = std::move(Other.BitcodeBytes);<br>
- // Explicitly swap block info, so that nothing gets destroyed twice.<br>
- std::swap(BlockInfoRecords, Other.BlockInfoRecords);<br>
- IgnoreBlockInfoNames = Other.IgnoreBlockInfoNames;<br>
- return *this;<br>
- }<br>
-<br>
void init(const unsigned char *Start, const unsigned char *End) {<br>
assert(((End-Start) & 3) == 0 &&"Bitcode stream not a multiple of 4 bytes");<br>
BitcodeBytes.reset(<wbr>getNonStreamedMemoryObject(<wbr>Start, End));<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>CodeGen/BasicTTIImpl.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/BasicTTIImpl.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/CodeGen/BasicTTIImpl.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>CodeGen/BasicTTIImpl.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>CodeGen/BasicTTIImpl.h Thu Oct 20 07:20:28 2016<br>
@@ -97,12 +97,6 @@ protected:<br>
using TargetTransformInfoImplBase::<wbr>DL;<br>
<br>
public:<br>
- // Provide value semantics. MSVC requires that we spell all of these out.<br>
- BasicTTIImplBase(const BasicTTIImplBase &Arg)<br>
- : BaseT(static_cast<const BaseT &>(Arg)) {}<br>
- BasicTTIImplBase(<wbr>BasicTTIImplBase &&Arg)<br>
- : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))) {}<br>
-<br>
/// \name Scalar TTI Implementations<br>
/// @{<br>
bool allowsMisalignedMemoryAccesses<wbr>(LLVMContext &Context,<br>
@@ -961,13 +955,6 @@ class BasicTTIImpl : public BasicTTIImpl<br>
<br>
public:<br>
explicit BasicTTIImpl(const TargetMachine *ST, const Function &F);<br>
-<br>
- // Provide value semantics. MSVC requires that we spell all of these out.<br>
- BasicTTIImpl(const BasicTTIImpl &Arg)<br>
- : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI) {}<br>
- BasicTTIImpl(BasicTTIImpl &&Arg)<br>
- : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))), ST(std::move(Arg.ST)),<br>
- TLI(std::move(Arg.TLI)) {}<br>
};<br>
<br>
}<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>ExecutionEngine/Orc/<wbr>CompileOnDemandLayer.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/ExecutionEngine/Orc/<wbr>CompileOnDemandLayer.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>ExecutionEngine/Orc/<wbr>CompileOnDemandLayer.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>ExecutionEngine/Orc/<wbr>CompileOnDemandLayer.h Thu Oct 20 07:20:28 2016<br>
@@ -89,15 +89,9 @@ private:<br>
<br>
class StaticGlobalRenamer {<br>
public:<br>
- StaticGlobalRenamer() {}<br>
-<br>
- StaticGlobalRenamer(<wbr>StaticGlobalRenamer &&Other)<br>
- : NextId(Other.NextId) {}<br>
-<br>
- StaticGlobalRenamer& operator=(StaticGlobalRenamer &&Other) {<br>
- NextId = Other.NextId;<br>
- return *this;<br>
- }<br>
+ StaticGlobalRenamer() = default;<br>
+ StaticGlobalRenamer(<wbr>StaticGlobalRenamer &&) = default;<br>
+ StaticGlobalRenamer &operator=(StaticGlobalRenamer &&) = default;<br>
<br>
void rename(Module &M) {<br>
for (auto &F : M)<br>
@@ -124,45 +118,11 @@ private:<br>
struct SourceModuleEntry {<br>
std::unique_ptr<ResourceOwner<<wbr>Module>> SourceMod;<br>
std::set<Function*> StubsToClone;<br>
-<br>
- SourceModuleEntry() = default;<br>
- SourceModuleEntry(<wbr>SourceModuleEntry &&Other)<br>
- : SourceMod(std::move(Other.<wbr>SourceMod)),<br>
- StubsToClone(std::move(Other.<wbr>StubsToClone)) {}<br>
- SourceModuleEntry& operator=(SourceModuleEntry &&Other) {<br>
- SourceMod = std::move(Other.SourceMod);<br>
- StubsToClone = std::move(Other.StubsToClone);<br>
- return *this;<br>
- }<br>
};<br>
<br>
typedef std::vector<SourceModuleEntry> SourceModulesList;<br>
typedef typename SourceModulesList::size_type SourceModuleHandle;<br>
<br>
- LogicalDylib() = default;<br>
-<br>
- // Explicit move constructor to make MSVC happy.<br>
- LogicalDylib(LogicalDylib &&Other)<br>
- : ExternalSymbolResolver(std::<wbr>move(Other.<wbr>ExternalSymbolResolver)),<br>
- MemMgr(std::move(Other.MemMgr)<wbr>),<br>
- StubsMgr(std::move(Other.<wbr>StubsMgr)),<br>
- StaticRenamer(std::move(Other.<wbr>StaticRenamer)),<br>
- ModuleAdder(std::move(Other.<wbr>ModuleAdder)),<br>
- SourceModules(std::move(Other.<wbr>SourceModules)),<br>
- BaseLayerHandles(std::move(<wbr>Other.BaseLayerHandles)) {}<br>
-<br>
- // Explicit move assignment operator to make MSVC happy.<br>
- LogicalDylib& operator=(LogicalDylib &&Other) {<br>
- ExternalSymbolResolver = std::move(Other.<wbr>ExternalSymbolResolver);<br>
- MemMgr = std::move(Other.MemMgr);<br>
- StubsMgr = std::move(Other.StubsMgr);<br>
- StaticRenamer = std::move(Other.StaticRenamer)<wbr>;<br>
- ModuleAdder = std::move(Other.ModuleAdder);<br>
- SourceModules = std::move(Other.SourceModules)<wbr>;<br>
- BaseLayerHandles = std::move(Other.<wbr>BaseLayerHandles);<br>
- return *this;<br>
- }<br>
-<br>
SourceModuleHandle<br>
addSourceModule(std::unique_<wbr>ptr<ResourceOwner<Module>> M) {<br>
SourceModuleHandle H = SourceModules.size();<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>ExecutionEngine/Orc/RPCUtils.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/RPCUtils.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/ExecutionEngine/Orc/<wbr>RPCUtils.h?rev=284721&r1=<wbr>284720&r2=284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>ExecutionEngine/Orc/RPCUtils.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>ExecutionEngine/Orc/RPCUtils.h Thu Oct 20 07:20:28 2016<br>
@@ -409,24 +409,8 @@ public:<br>
RPC() = default;<br>
<br>
/// RPC instances cannot be copied.<br>
- RPC(const RPC &) = delete;<br>
-<br>
- /// RPC instances cannot be copied.<br>
- RPC &operator=(const RPC &) = delete;<br>
-<br>
- /// RPC move constructor.<br>
- // FIXME: Remove once MSVC can synthesize move ops.<br>
- RPC(RPC &&Other)<br>
- : SequenceNumberMgr(std::move(<wbr>Other.SequenceNumberMgr)),<br>
- OutstandingResults(std::move(<wbr>Other.OutstandingResults)) {}<br>
-<br>
- /// RPC move assignment.<br>
- // FIXME: Remove once MSVC can synthesize move ops.<br>
- RPC &operator=(RPC &&Other) {<br>
- SequenceNumberMgr = std::move(Other.<wbr>SequenceNumberMgr);<br>
- OutstandingResults = std::move(Other.<wbr>OutstandingResults);<br>
- return *this;<br>
- }<br>
+ RPC(RPC &&) = default;<br>
+ RPC &operator=(RPC &&) = default;<br>
<br>
/// Utility class for defining/referring to RPC procedures.<br>
///<br>
<br>
Modified: llvm/trunk/include/llvm/IR/<wbr>DebugLoc.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/DebugLoc.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/IR/DebugLoc.h?rev=284721&<wbr>r1=284720&r2=284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/IR/<wbr>DebugLoc.h (original)<br>
+++ llvm/trunk/include/llvm/IR/<wbr>DebugLoc.h Thu Oct 20 07:20:28 2016<br>
@@ -35,17 +35,7 @@ namespace llvm {<br>
TrackingMDNodeRef Loc;<br>
<br>
public:<br>
- DebugLoc() {}<br>
- DebugLoc(DebugLoc &&X) : Loc(std::move(X.Loc)) {}<br>
- DebugLoc(const DebugLoc &X) : Loc(X.Loc) {}<br>
- DebugLoc &operator=(DebugLoc &&X) {<br>
- Loc = std::move(X.Loc);<br>
- return *this;<br>
- }<br>
- DebugLoc &operator=(const DebugLoc &X) {<br>
- Loc = X.Loc;<br>
- return *this;<br>
- }<br>
+ DebugLoc() = default;<br>
<br>
/// \brief Construct from an \a DILocation.<br>
DebugLoc(const DILocation *L);<br>
<br>
Modified: llvm/trunk/include/llvm/IR/<wbr>Dominators.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Dominators.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/IR/Dominators.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/IR/<wbr>Dominators.h (original)<br>
+++ llvm/trunk/include/llvm/IR/<wbr>Dominators.h Thu Oct 20 07:20:28 2016<br>
@@ -102,13 +102,6 @@ public:<br>
recalculate(F);<br>
}<br>
<br>
- DominatorTree(DominatorTree &&Arg)<br>
- : Base(std::move(static_cast<<wbr>Base &>(Arg))) {}<br>
- DominatorTree &operator=(DominatorTree &&RHS) {<br>
- Base::operator=(std::move(<wbr>static_cast<Base &>(RHS)));<br>
- return *this;<br>
- }<br>
-<br>
/// \brief Returns *false* if the other dominator tree matches this dominator<br>
/// tree.<br>
inline bool compare(const DominatorTree &Other) const {<br>
<br>
Modified: llvm/trunk/include/llvm/IR/<wbr>ModuleSummaryIndex.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/ModuleSummaryIndex.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/IR/ModuleSummaryIndex.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/IR/<wbr>ModuleSummaryIndex.h (original)<br>
+++ llvm/trunk/include/llvm/IR/<wbr>ModuleSummaryIndex.h Thu Oct 20 07:20:28 2016<br>
@@ -358,16 +358,6 @@ private:<br>
ModulePathStringTableTy ModulePathStringTable;<br>
<br>
public:<br>
- ModuleSummaryIndex() = default;<br>
- ModuleSummaryIndex(<wbr>ModuleSummaryIndex &&Arg)<br>
- : GlobalValueMap(std::move(Arg.<wbr>GlobalValueMap)),<br>
- ModulePathStringTable(std::<wbr>move(Arg.<wbr>ModulePathStringTable)) {}<br>
- ModuleSummaryIndex &operator=(ModuleSummaryIndex &&RHS) {<br>
- GlobalValueMap = std::move(RHS.GlobalValueMap);<br>
- ModulePathStringTable = std::move(RHS.<wbr>ModulePathStringTable);<br>
- return *this;<br>
- }<br>
-<br>
gvsummary_iterator begin() { return GlobalValueMap.begin(); }<br>
const_gvsummary_iterator begin() const { return GlobalValueMap.begin(); }<br>
gvsummary_iterator end() { return GlobalValueMap.end(); }<br>
<br>
Modified: llvm/trunk/include/llvm/IR/<wbr>PassManager.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/PassManager.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/IR/PassManager.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/IR/<wbr>PassManager.h (original)<br>
+++ llvm/trunk/include/llvm/IR/<wbr>PassManager.h Thu Oct 20 07:20:28 2016<br>
@@ -65,22 +65,6 @@ namespace llvm {<br>
/// the IR is not mutated at all.<br>
class PreservedAnalyses {<br>
public:<br>
- // We have to explicitly define all the special member functions because MSVC<br>
- // refuses to generate them.<br>
- PreservedAnalyses() {}<br>
- PreservedAnalyses(const PreservedAnalyses &Arg)<br>
- : PreservedPassIDs(Arg.<wbr>PreservedPassIDs) {}<br>
- PreservedAnalyses(<wbr>PreservedAnalyses &&Arg)<br>
- : PreservedPassIDs(std::move(<wbr>Arg.PreservedPassIDs)) {}<br>
- friend void swap(PreservedAnalyses &LHS, PreservedAnalyses &RHS) {<br>
- using std::swap;<br>
- swap(LHS.PreservedPassIDs, RHS.PreservedPassIDs);<br>
- }<br>
- PreservedAnalyses &operator=(PreservedAnalyses RHS) {<br>
- swap(*this, RHS);<br>
- return *this;<br>
- }<br>
-<br>
/// \brief Convenience factory function for the empty preserved set.<br>
static PreservedAnalyses none() { return PreservedAnalyses(); }<br>
<br>
@@ -257,16 +241,8 @@ public:<br>
///<br>
/// It can be passed a flag to get debug logging as the passes are run.<br>
PassManager(bool DebugLogging = false) : DebugLogging(DebugLogging) {}<br>
- // We have to explicitly define all the special member functions because MSVC<br>
- // refuses to generate them.<br>
- PassManager(PassManager &&Arg)<br>
- : Passes(std::move(Arg.Passes)),<br>
- DebugLogging(std::move(Arg.<wbr>DebugLogging)) {}<br>
- PassManager &operator=(PassManager &&RHS) {<br>
- Passes = std::move(RHS.Passes);<br>
- DebugLogging = std::move(RHS.DebugLogging);<br>
- return *this;<br>
- }<br>
+ PassManager(PassManager &&) = default;<br>
+ PassManager &operator=(PassManager &&) = default;<br>
<br>
/// \brief Run all of the passes in this manager over the IR.<br>
PreservedAnalyses run(IRUnitT &IR, AnalysisManagerT &AM,<br>
@@ -323,9 +299,6 @@ private:<br>
typedef detail::PassConcept<IRUnitT, AnalysisManagerT, ExtraArgTs...><br>
PassConceptT;<br>
<br>
- PassManager(const PassManager &) = delete;<br>
- PassManager &operator=(const PassManager &) = delete;<br>
-<br>
std::vector<std::unique_ptr<<wbr>PassConceptT>> Passes;<br>
<br>
/// \brief Flag indicating whether we should do debug logging.<br>
@@ -358,19 +331,8 @@ public:<br>
/// A flag can be passed to indicate that the manager should perform debug<br>
/// logging.<br>
AnalysisManager(bool DebugLogging = false) : DebugLogging(DebugLogging) {}<br>
-<br>
- // We have to explicitly define all the special member functions because MSVC<br>
- // refuses to generate them.<br>
- AnalysisManager(<wbr>AnalysisManager &&Arg)<br>
- : AnalysisPasses(std::move(Arg.<wbr>AnalysisPasses)),<br>
- AnalysisResults(std::move(Arg.<wbr>AnalysisResults)),<br>
- DebugLogging(std::move(Arg.<wbr>DebugLogging)) {}<br>
- AnalysisManager &operator=(AnalysisManager &&RHS) {<br>
- AnalysisPasses = std::move(RHS.AnalysisPasses);<br>
- AnalysisResults = std::move(RHS.AnalysisResults)<wbr>;<br>
- DebugLogging = std::move(RHS.DebugLogging);<br>
- return *this;<br>
- }<br>
+ AnalysisManager(<wbr>AnalysisManager &&) = default;<br>
+ AnalysisManager &operator=(AnalysisManager &&) = default;<br>
<br>
/// \brief Returns true if the analysis manager has an empty results cache.<br>
bool empty() const {<br>
@@ -543,9 +505,6 @@ public:<br>
}<br>
<br>
private:<br>
- AnalysisManager(const AnalysisManager &) = delete;<br>
- AnalysisManager &operator=(const AnalysisManager &) = delete;<br>
-<br>
/// \brief Lookup a registered analysis pass.<br>
PassConceptT &lookupPass(void *PassID) {<br>
typename AnalysisPassMapT::iterator PI = AnalysisPasses.find(PassID);<br>
@@ -731,16 +690,6 @@ public:<br>
};<br>
<br>
explicit InnerAnalysisManagerProxy(<wbr>AnalysisManagerT &AM) : AM(&AM) {}<br>
- // We have to explicitly define all the special member functions because MSVC<br>
- // refuses to generate them.<br>
- InnerAnalysisManagerProxy(<wbr>const InnerAnalysisManagerProxy &Arg)<br>
- : AM(Arg.AM) {}<br>
- InnerAnalysisManagerProxy(<wbr>InnerAnalysisManagerProxy &&Arg)<br>
- : AM(std::move(Arg.AM)) {}<br>
- InnerAnalysisManagerProxy &operator=(<wbr>InnerAnalysisManagerProxy RHS) {<br>
- std::swap(AM, <a href="http://RHS.AM" rel="noreferrer" target="_blank">RHS.AM</a>);<br>
- return *this;<br>
- }<br>
<br>
/// \brief Run the analysis pass and create our proxy result object.<br>
///<br>
@@ -795,14 +744,6 @@ public:<br>
class Result {<br>
public:<br>
explicit Result(const AnalysisManagerT &AM) : AM(&AM) {}<br>
- // We have to explicitly define all the special member functions because<br>
- // MSVC refuses to generate them.<br>
- Result(const Result &Arg) : AM(Arg.AM) {}<br>
- Result(Result &&Arg) : AM(std::move(Arg.AM)) {}<br>
- Result &operator=(Result RHS) {<br>
- std::swap(AM, <a href="http://RHS.AM" rel="noreferrer" target="_blank">RHS.AM</a>);<br>
- return *this;<br>
- }<br>
<br>
const AnalysisManagerT &getManager() const { return *AM; }<br>
<br>
@@ -814,16 +755,6 @@ public:<br>
};<br>
<br>
OuterAnalysisManagerProxy(<wbr>const AnalysisManagerT &AM) : AM(&AM) {}<br>
- // We have to explicitly define all the special member functions because MSVC<br>
- // refuses to generate them.<br>
- OuterAnalysisManagerProxy(<wbr>const OuterAnalysisManagerProxy &Arg)<br>
- : AM(Arg.AM) {}<br>
- OuterAnalysisManagerProxy(<wbr>OuterAnalysisManagerProxy &&Arg)<br>
- : AM(std::move(Arg.AM)) {}<br>
- OuterAnalysisManagerProxy &operator=(<wbr>OuterAnalysisManagerProxy RHS) {<br>
- std::swap(AM, <a href="http://RHS.AM" rel="noreferrer" target="_blank">RHS.AM</a>);<br>
- return *this;<br>
- }<br>
<br>
/// \brief Run the analysis pass and create our proxy result object.<br>
/// Nothing to see here, it just forwards the \c AM reference into the<br>
@@ -879,21 +810,6 @@ class ModuleToFunctionPassAdaptor<br>
public:<br>
explicit ModuleToFunctionPassAdaptor(<wbr>FunctionPassT Pass)<br>
: Pass(std::move(Pass)) {}<br>
- // We have to explicitly define all the special member functions because MSVC<br>
- // refuses to generate them.<br>
- ModuleToFunctionPassAdaptor(<wbr>const ModuleToFunctionPassAdaptor &Arg)<br>
- : Pass(Arg.Pass) {}<br>
- ModuleToFunctionPassAdaptor(<wbr>ModuleToFunctionPassAdaptor &&Arg)<br>
- : Pass(std::move(Arg.Pass)) {}<br>
- friend void swap(<wbr>ModuleToFunctionPassAdaptor &LHS,<br>
- ModuleToFunctionPassAdaptor &RHS) {<br>
- using std::swap;<br>
- swap(LHS.Pass, RHS.Pass);<br>
- }<br>
- ModuleToFunctionPassAdaptor &operator=(<wbr>ModuleToFunctionPassAdaptor RHS) {<br>
- swap(*this, RHS);<br>
- return *this;<br>
- }<br>
<br>
/// \brief Runs the function pass across every function in the module.<br>
PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM) {<br>
@@ -1014,19 +930,6 @@ template <typename PassT><br>
class RepeatedPass : public PassInfoMixin<RepeatedPass<<wbr>PassT>> {<br>
public:<br>
RepeatedPass(int Count, PassT P) : Count(Count), P(std::move(P)) {}<br>
- // We have to explicitly define all the special member functions because MSVC<br>
- // refuses to generate them.<br>
- RepeatedPass(const RepeatedPass &Arg) : Count(Arg.Count), P(Arg.P) {}<br>
- RepeatedPass(RepeatedPass &&Arg) : Count(Arg.Count), P(std::move(Arg.P)) {}<br>
- friend void swap(RepeatedPass &LHS, RepeatedPass &RHS) {<br>
- using std::swap;<br>
- swap(LHS.Count, RHS.Count);<br>
- swap(LHS.P, RHS.P);<br>
- }<br>
- RepeatedPass &operator=(RepeatedPass RHS) {<br>
- swap(*this, RHS);<br>
- return *this;<br>
- }<br>
<br>
template <typename IRUnitT, typename AnalysisManagerT, typename... Ts><br>
PreservedAnalyses run(IRUnitT &Arg, AnalysisManagerT &AM, Ts &&... Args) {<br>
<br>
Modified: llvm/trunk/include/llvm/IR/<wbr>UseListOrder.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/UseListOrder.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/IR/UseListOrder.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/IR/<wbr>UseListOrder.h (original)<br>
+++ llvm/trunk/include/llvm/IR/<wbr>UseListOrder.h Thu Oct 20 07:20:28 2016<br>
@@ -34,18 +34,8 @@ struct UseListOrder {<br>
: V(V), F(F), Shuffle(ShuffleSize) {}<br>
<br>
UseListOrder() : V(nullptr), F(nullptr) {}<br>
- UseListOrder(UseListOrder &&X)<br>
- : V(X.V), F(X.F), Shuffle(std::move(X.Shuffle)) {}<br>
- UseListOrder &operator=(UseListOrder &&X) {<br>
- V = X.V;<br>
- F = X.F;<br>
- Shuffle = std::move(X.Shuffle);<br>
- return *this;<br>
- }<br>
-<br>
-private:<br>
- UseListOrder(const UseListOrder &X) = delete;<br>
- UseListOrder &operator=(const UseListOrder &X) = delete;<br>
+ UseListOrder(UseListOrder &&) = default;<br>
+ UseListOrder &operator=(UseListOrder &&) = default;<br>
};<br>
<br>
typedef std::vector<UseListOrder> UseListOrderStack;<br>
<br>
Modified: llvm/trunk/include/llvm/LTO/<wbr>Config.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/LTO/Config.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/LTO/Config.h?rev=284721&<wbr>r1=284720&r2=284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/LTO/<wbr>Config.h (original)<br>
+++ llvm/trunk/include/llvm/LTO/<wbr>Config.h Thu Oct 20 07:20:28 2016<br>
@@ -134,56 +134,6 @@ struct Config {<br>
CombinedIndexHookFn;<br>
CombinedIndexHookFn CombinedIndexHook;<br>
<br>
- Config() {}<br>
- // FIXME: Remove once MSVC can synthesize move ops.<br>
- Config(Config &&X)<br>
- : CPU(std::move(X.CPU)), Features(std::move(X.Features)<wbr>),<br>
- Options(std::move(X.Options)), MAttrs(std::move(X.MAttrs)),<br>
- RelocModel(std::move(X.<wbr>RelocModel)), CodeModel(std::move(X.<wbr>CodeModel)),<br>
- CGOptLevel(std::move(X.<wbr>CGOptLevel)), OptLevel(std::move(X.OptLevel)<wbr>),<br>
- DisableVerify(std::move(X.<wbr>DisableVerify)),<br>
- OptPipeline(std::move(X.<wbr>OptPipeline)),<br>
- AAPipeline(std::move(X.<wbr>AAPipeline)),<br>
- OverrideTriple(std::move(X.<wbr>OverrideTriple)),<br>
- DefaultTriple(std::move(X.<wbr>DefaultTriple)),<br>
- ShouldDiscardValueNames(std::<wbr>move(X.<wbr>ShouldDiscardValueNames)),<br>
- DiagHandler(std::move(X.<wbr>DiagHandler)),<br>
- ResolutionFile(std::move(X.<wbr>ResolutionFile)),<br>
- PreOptModuleHook(std::move(X.<wbr>PreOptModuleHook)),<br>
- PostPromoteModuleHook(std::<wbr>move(X.PostPromoteModuleHook))<wbr>,<br>
- PostInternalizeModuleHook(std:<wbr>:move(X.<wbr>PostInternalizeModuleHook)),<br>
- PostImportModuleHook(std::<wbr>move(X.PostImportModuleHook)),<br>
- PostOptModuleHook(std::move(X.<wbr>PostOptModuleHook)),<br>
- PreCodeGenModuleHook(std::<wbr>move(X.PreCodeGenModuleHook)),<br>
- CombinedIndexHook(std::move(X.<wbr>CombinedIndexHook)) {}<br>
- // FIXME: Remove once MSVC can synthesize move ops.<br>
- Config &operator=(Config &&X) {<br>
- CPU = std::move(X.CPU);<br>
- Features = std::move(X.Features);<br>
- Options = std::move(X.Options);<br>
- MAttrs = std::move(X.MAttrs);<br>
- RelocModel = std::move(X.RelocModel);<br>
- CodeModel = std::move(X.CodeModel);<br>
- CGOptLevel = std::move(X.CGOptLevel);<br>
- OptLevel = std::move(X.OptLevel);<br>
- DisableVerify = std::move(X.DisableVerify);<br>
- OptPipeline = std::move(X.OptPipeline);<br>
- AAPipeline = std::move(X.AAPipeline);<br>
- OverrideTriple = std::move(X.OverrideTriple);<br>
- DefaultTriple = std::move(X.DefaultTriple);<br>
- ShouldDiscardValueNames = std::move(X.<wbr>ShouldDiscardValueNames);<br>
- DiagHandler = std::move(X.DiagHandler);<br>
- ResolutionFile = std::move(X.ResolutionFile);<br>
- PreOptModuleHook = std::move(X.PreOptModuleHook);<br>
- PostPromoteModuleHook = std::move(X.<wbr>PostPromoteModuleHook);<br>
- PostInternalizeModuleHook = std::move(X.<wbr>PostInternalizeModuleHook);<br>
- PostImportModuleHook = std::move(X.<wbr>PostImportModuleHook);<br>
- PostOptModuleHook = std::move(X.PostOptModuleHook)<wbr>;<br>
- PreCodeGenModuleHook = std::move(X.<wbr>PreCodeGenModuleHook);<br>
- CombinedIndexHook = std::move(X.CombinedIndexHook)<wbr>;<br>
- return *this;<br>
- }<br>
-<br>
/// This is a convenience function that configures this Config object to write<br>
/// temporary files named after the given OutputFileName for each of the LTO<br>
/// phases to disk. A client can use this function to implement -save-temps.<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Object/ArchiveWriter.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/ArchiveWriter.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Object/ArchiveWriter.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Object/ArchiveWriter.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Object/ArchiveWriter.h Thu Oct 20 07:20:28 2016<br>
@@ -26,17 +26,6 @@ struct NewArchiveMember {<br>
unsigned UID = 0, GID = 0, Perms = 0644;<br>
<br>
NewArchiveMember() = default;<br>
- NewArchiveMember(<wbr>NewArchiveMember &&Other)<br>
- : Buf(std::move(Other.Buf)), ModTime(Other.ModTime), UID(Other.UID),<br>
- GID(Other.GID), Perms(Other.Perms) {}<br>
- NewArchiveMember &operator=(NewArchiveMember &&Other) {<br>
- Buf = std::move(Other.Buf);<br>
- ModTime = Other.ModTime;<br>
- UID = Other.UID;<br>
- GID = Other.GID;<br>
- Perms = Other.Perms;<br>
- return *this;<br>
- }<br>
NewArchiveMember(<wbr>MemoryBufferRef BufRef);<br>
<br>
static Expected<NewArchiveMember><br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>ProfileData/Coverage/<wbr>CoverageMapping.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ProfileData/Coverage/CoverageMapping.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/ProfileData/Coverage/<wbr>CoverageMapping.h?rev=284721&<wbr>r1=284720&r2=284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>ProfileData/Coverage/<wbr>CoverageMapping.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>ProfileData/Coverage/<wbr>CoverageMapping.h Thu Oct 20 07:20:28 2016<br>
@@ -291,13 +291,8 @@ struct FunctionRecord {<br>
FunctionRecord(StringRef Name, ArrayRef<StringRef> Filenames)<br>
: Name(Name), Filenames(Filenames.begin(), Filenames.end()) {}<br>
<br>
- FunctionRecord(FunctionRecord &&FR)<br>
- : Name(FR.Name), Filenames(std::move(FR.<wbr>Filenames)),<br>
- CountedRegions(std::move(FR.<wbr>CountedRegions)),<br>
- ExecutionCount(FR.<wbr>ExecutionCount) {}<br>
-<br>
- FunctionRecord(const FunctionRecord &) = delete;<br>
- const FunctionRecord &operator=(const FunctionRecord &) = delete;<br>
+ FunctionRecord(FunctionRecord &&FR) = default;<br>
+ FunctionRecord &operator=(FunctionRecord &&) = default;<br>
<br>
void pushRegion(<wbr>CounterMappingRegion Region, uint64_t Count) {<br>
if (CountedRegions.empty())<br>
@@ -405,10 +400,6 @@ public:<br>
<br>
CoverageData(StringRef Filename) : Filename(Filename) {}<br>
<br>
- CoverageData(CoverageData &&RHS)<br>
- : Filename(std::move(RHS.<wbr>Filename)), Segments(std::move(RHS.<wbr>Segments)),<br>
- Expansions(std::move(RHS.<wbr>Expansions)) {}<br>
-<br>
/// \brief Get the name of the file this data covers.<br>
StringRef getFilename() const { return Filename; }<br>
<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Support/SourceMgr.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/SourceMgr.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Support/SourceMgr.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Support/SourceMgr.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Support/SourceMgr.h Thu Oct 20 07:20:28 2016<br>
@@ -51,11 +51,6 @@ private:<br>
<br>
/// This is the location of the parent include, or null if at the top level.<br>
SMLoc IncludeLoc;<br>
-<br>
- SrcBuffer() {}<br>
-<br>
- SrcBuffer(SrcBuffer &&O)<br>
- : Buffer(std::move(O.Buffer)), IncludeLoc(O.IncludeLoc) {}<br>
};<br>
<br>
/// This is all of the buffers that we are reading from.<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Transforms/InstCombine/<wbr>InstCombine.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/InstCombine/InstCombine.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Transforms/InstCombine/<wbr>InstCombine.h?rev=284721&r1=<wbr>284720&r2=284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Transforms/InstCombine/<wbr>InstCombine.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Transforms/InstCombine/<wbr>InstCombine.h Thu Oct 20 07:20:28 2016<br>
@@ -31,17 +31,8 @@ class InstCombinePass : public PassInfoM<br>
public:<br>
static StringRef name() { return "InstCombinePass"; }<br>
<br>
- // Explicitly define constructors for MSVC.<br>
- InstCombinePass(bool ExpensiveCombines = true)<br>
+ explicit InstCombinePass(bool ExpensiveCombines = true)<br>
: ExpensiveCombines(<wbr>ExpensiveCombines) {}<br>
- InstCombinePass(<wbr>InstCombinePass &&Arg)<br>
- : Worklist(std::move(Arg.<wbr>Worklist)),<br>
- ExpensiveCombines(Arg.<wbr>ExpensiveCombines) {}<br>
- InstCombinePass &operator=(InstCombinePass &&RHS) {<br>
- Worklist = std::move(RHS.Worklist);<br>
- ExpensiveCombines = RHS.ExpensiveCombines;<br>
- return *this;<br>
- }<br>
<br>
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);<br>
};<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Transforms/InstCombine/<wbr>InstCombineWorklist.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/InstCombine/InstCombineWorklist.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Transforms/InstCombine/<wbr>InstCombineWorklist.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Transforms/InstCombine/<wbr>InstCombineWorklist.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Transforms/InstCombine/<wbr>InstCombineWorklist.h Thu Oct 20 07:20:28 2016<br>
@@ -28,19 +28,11 @@ class InstCombineWorklist {<br>
SmallVector<Instruction*, 256> Worklist;<br>
DenseMap<Instruction*, unsigned> WorklistMap;<br>
<br>
- void operator=(const InstCombineWorklist&RHS) = delete;<br>
- InstCombineWorklist(const InstCombineWorklist&) = delete;<br>
public:<br>
- InstCombineWorklist() {}<br>
+ InstCombineWorklist() = default;<br>
<br>
- InstCombineWorklist(<wbr>InstCombineWorklist &&Arg)<br>
- : Worklist(std::move(Arg.<wbr>Worklist)),<br>
- WorklistMap(std::move(Arg.<wbr>WorklistMap)) {}<br>
- InstCombineWorklist &operator=(InstCombineWorklist &&RHS) {<br>
- Worklist = std::move(RHS.Worklist);<br>
- WorklistMap = std::move(RHS.WorklistMap);<br>
- return *this;<br>
- }<br>
+ InstCombineWorklist(<wbr>InstCombineWorklist &&) = default;<br>
+ InstCombineWorklist &operator=(InstCombineWorklist &&) = default;<br>
<br>
bool isEmpty() const { return Worklist.empty(); }<br>
<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Transforms/Scalar/<wbr>JumpThreading.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Scalar/JumpThreading.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Transforms/Scalar/<wbr>JumpThreading.h?rev=284721&r1=<wbr>284720&r2=284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Transforms/Scalar/<wbr>JumpThreading.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Transforms/Scalar/<wbr>JumpThreading.h Thu Oct 20 07:20:28 2016<br>
@@ -85,13 +85,6 @@ class JumpThreadingPass : public PassInf<br>
<br>
public:<br>
JumpThreadingPass(int T = -1);<br>
- // Hack for MSVC 2013 which seems like it can't synthesize this.<br>
- JumpThreadingPass(<wbr>JumpThreadingPass &&Other)<br>
- : TLI(Other.TLI), LVI(Other.LVI), BFI(std::move(Other.BFI)),<br>
- BPI(std::move(Other.BPI)), HasProfileData(Other.<wbr>HasProfileData),<br>
- LoopHeaders(std::move(Other.<wbr>LoopHeaders)),<br>
- RecursionSet(std::move(Other.<wbr>RecursionSet)),<br>
- BBDupThreshold(Other.<wbr>BBDupThreshold) {}<br>
<br>
// Glue for old PM.<br>
bool runImpl(Function &F, TargetLibraryInfo *TLI_, LazyValueInfo *LVI_,<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Transforms/Utils/<wbr>ImportedFunctionsInliningStati<wbr>stics.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Transforms/Utils/<wbr>ImportedFunctionsInliningStati<wbr>stics.h?rev=284721&r1=284720&<wbr>r2=284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Transforms/Utils/<wbr>ImportedFunctionsInliningStati<wbr>stics.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Transforms/Utils/<wbr>ImportedFunctionsInliningStati<wbr>stics.h Thu Oct 20 07:20:28 2016<br>
@@ -48,26 +48,8 @@ private:<br>
struct InlineGraphNode {<br>
// Default-constructible and movable.<br>
InlineGraphNode() = default;<br>
- // FIXME: make them default ctors when we won't support ancient compilers<br>
- // like MSVS-2013.<br>
- InlineGraphNode(<wbr>InlineGraphNode &&Other)<br>
- : InlinedCallees(std::move(<wbr>Other.InlinedCallees)),<br>
- NumberOfInlines(Other.<wbr>NumberOfInlines),<br>
- NumberOfRealInlines(Other.<wbr>NumberOfRealInlines),<br>
- Imported(Other.Imported),<br>
- Visited(Other.Visited) {}<br>
-<br>
- InlineGraphNode &operator=(InlineGraphNode &&Other) {<br>
- InlinedCallees = std::move(Other.<wbr>InlinedCallees);<br>
- NumberOfInlines = Other.NumberOfInlines;<br>
- NumberOfRealInlines = Other.NumberOfRealInlines;<br>
- Imported = Other.Imported;<br>
- Visited = Other.Visited;<br>
- return *this;<br>
- }<br>
-<br>
- InlineGraphNode(const InlineGraphNode &) = delete;<br>
- InlineGraphNode &operator=(const InlineGraphNode &) = delete;<br>
+ InlineGraphNode(<wbr>InlineGraphNode &&) = default;<br>
+ InlineGraphNode &operator=(InlineGraphNode &&) = default;<br>
<br>
llvm::SmallVector<<wbr>InlineGraphNode *, 8> InlinedCallees;<br>
/// Incremented every direct inline.<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Transforms/Utils/MemorySSA.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Utils/MemorySSA.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Transforms/Utils/<wbr>MemorySSA.h?rev=284721&r1=<wbr>284720&r2=284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Transforms/Utils/MemorySSA.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Transforms/Utils/MemorySSA.h Thu Oct 20 07:20:28 2016<br>
@@ -662,12 +662,8 @@ public:<br>
// unique_ptr<MemorySSA> to avoid build breakage on MSVC.<br>
struct Result {<br>
Result(std::unique_ptr<<wbr>MemorySSA> &&MSSA) : MSSA(std::move(MSSA)) {}<br>
- Result(Result &&R) : MSSA(std::move(R.MSSA)) {}<br>
MemorySSA &getMSSA() { return *MSSA.get(); }<br>
<br>
- Result(const Result &) = delete;<br>
- void operator=(const Result &) = delete;<br>
-<br>
std::unique_ptr<MemorySSA> MSSA;<br>
};<br>
<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Transforms/Utils/<wbr>SymbolRewriter.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Utils/SymbolRewriter.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Transforms/Utils/<wbr>SymbolRewriter.h?rev=284721&<wbr>r1=284720&r2=284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Transforms/Utils/<wbr>SymbolRewriter.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Transforms/Utils/<wbr>SymbolRewriter.h Thu Oct 20 07:20:28 2016<br>
@@ -120,9 +120,6 @@ public:<br>
Descriptors.splice(<wbr>Descriptors.begin(), DL);<br>
}<br>
<br>
- RewriteSymbolPass(<wbr>RewriteSymbolPass &&Other)<br>
- : Descriptors(std::move(Other.<wbr>Descriptors)) {}<br>
-<br>
PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);<br>
<br>
// Glue for old PM<br>
<br>
Modified: llvm/trunk/lib/Analysis/<wbr>StratifiedSets.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/StratifiedSets.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/<wbr>Analysis/StratifiedSets.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/lib/Analysis/<wbr>StratifiedSets.h (original)<br>
+++ llvm/trunk/lib/Analysis/<wbr>StratifiedSets.h Thu Oct 20 07:20:28 2016<br>
@@ -85,17 +85,8 @@ struct StratifiedLink {<br>
template <typename T> class StratifiedSets {<br>
public:<br>
StratifiedSets() = default;<br>
-<br>
- // TODO: Figure out how to make MSVC not call the copy ctor here, and delete<br>
- // it.<br>
-<br>
- // Can't default these due to compile errors in MSVC2013<br>
- StratifiedSets(StratifiedSets &&Other) { *this = std::move(Other); }<br>
- StratifiedSets &operator=(StratifiedSets &&Other) {<br>
- Values = std::move(Other.Values);<br>
- Links = std::move(Other.Links);<br>
- return *this;<br>
- }<br>
+ StratifiedSets(StratifiedSets &&) = default;<br>
+ StratifiedSets &operator=(StratifiedSets &&) = default;<br>
<br>
StratifiedSets(DenseMap<T, StratifiedInfo> Map,<br>
std::vector<StratifiedLink> Links)<br>
<br>
Modified: llvm/trunk/lib/<wbr>ExecutionEngine/<wbr>GDBRegistrationListener.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/GDBRegistrationListener.cpp?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/<wbr>ExecutionEngine/<wbr>GDBRegistrationListener.cpp?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/lib/<wbr>ExecutionEngine/<wbr>GDBRegistrationListener.cpp (original)<br>
+++ llvm/trunk/lib/<wbr>ExecutionEngine/<wbr>GDBRegistrationListener.cpp Thu Oct 20 07:20:28 2016<br>
@@ -69,16 +69,6 @@ struct RegisteredObjectInfo {<br>
OwningBinary<ObjectFile> Obj)<br>
: Size(Size), Entry(Entry), Obj(std::move(Obj)) {}<br>
<br>
- RegisteredObjectInfo(<wbr>RegisteredObjectInfo &&Other)<br>
- : Size(Other.Size), Entry(Other.Entry), Obj(std::move(Other.Obj)) {}<br>
-<br>
- RegisteredObjectInfo& operator=(RegisteredObjectInfo &&Other) {<br>
- Size = Other.Size;<br>
- Entry = Other.Entry;<br>
- Obj = std::move(Other.Obj);<br>
- return *this;<br>
- }<br>
-<br>
std::size_t Size;<br>
jit_code_entry *Entry;<br>
OwningBinary<ObjectFile> Obj;<br>
<br>
Modified: llvm/trunk/lib/<wbr>ExecutionEngine/Interpreter/<wbr>Interpreter.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/Interpreter/Interpreter.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/<wbr>ExecutionEngine/Interpreter/<wbr>Interpreter.h?rev=284721&r1=<wbr>284720&r2=284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/lib/<wbr>ExecutionEngine/Interpreter/<wbr>Interpreter.h (original)<br>
+++ llvm/trunk/lib/<wbr>ExecutionEngine/Interpreter/<wbr>Interpreter.h Thu Oct 20 07:20:28 2016<br>
@@ -41,12 +41,9 @@ class AllocaHolder {<br>
public:<br>
AllocaHolder() {}<br>
<br>
- // Make this type move-only. Define explicit move special members for MSVC.<br>
- AllocaHolder(AllocaHolder &&RHS) : Allocations(std::move(RHS.<wbr>Allocations)) {}<br>
- AllocaHolder &operator=(AllocaHolder &&RHS) {<br>
- Allocations = std::move(RHS.Allocations);<br>
- return *this;<br>
- }<br>
+ // Make this type move-only.<br>
+ AllocaHolder(AllocaHolder &&) = default;<br>
+ AllocaHolder &operator=(AllocaHolder &&RHS) = default;<br>
<br>
~AllocaHolder() {<br>
for (void *Allocation : Allocations)<br>
@@ -72,22 +69,6 @@ struct ExecutionContext {<br>
AllocaHolder Allocas; // Track memory allocated by alloca<br>
<br>
ExecutionContext() : CurFunction(nullptr), CurBB(nullptr), CurInst(nullptr) {}<br>
-<br>
- ExecutionContext(<wbr>ExecutionContext &&O)<br>
- : CurFunction(O.CurFunction), CurBB(O.CurBB), CurInst(O.CurInst),<br>
- Caller(O.Caller), Values(std::move(O.Values)),<br>
- VarArgs(std::move(O.VarArgs)), Allocas(std::move(O.Allocas)) {}<br>
-<br>
- ExecutionContext &operator=(ExecutionContext &&O) {<br>
- CurFunction = O.CurFunction;<br>
- CurBB = O.CurBB;<br>
- CurInst = O.CurInst;<br>
- Caller = O.Caller;<br>
- Values = std::move(O.Values);<br>
- VarArgs = std::move(O.VarArgs);<br>
- Allocas = std::move(O.Allocas);<br>
- return *this;<br>
- }<br>
};<br>
<br>
// Interpreter - This class represents the entirety of the interpreter.<br>
<br>
Modified: llvm/trunk/lib/Support/<wbr>SpecialCaseList.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/SpecialCaseList.cpp?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/<wbr>Support/SpecialCaseList.cpp?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/lib/Support/<wbr>SpecialCaseList.cpp (original)<br>
+++ llvm/trunk/lib/Support/<wbr>SpecialCaseList.cpp Thu Oct 20 07:20:28 2016<br>
@@ -32,10 +32,6 @@ namespace llvm {<br>
/// reason for doing so is efficiency; StringSet is much faster at matching<br>
/// literal strings than Regex.<br>
struct SpecialCaseList::Entry {<br>
- Entry() {}<br>
- Entry(Entry &&Other)<br>
- : Strings(std::move(Other.<wbr>Strings)), RegEx(std::move(Other.RegEx)) {}<br>
-<br>
StringSet<> Strings;<br>
std::unique_ptr<Regex> RegEx;<br>
<br>
<br>
Modified: llvm/trunk/lib/Target/AArch64/<wbr>AArch64TargetTransformInfo.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64TargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>AArch64/<wbr>AArch64TargetTransformInfo.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/lib/Target/AArch64/<wbr>AArch64TargetTransformInfo.h (original)<br>
+++ llvm/trunk/lib/Target/AArch64/<wbr>AArch64TargetTransformInfo.h Thu Oct 20 07:20:28 2016<br>
@@ -52,13 +52,6 @@ public:<br>
: BaseT(TM, F.getParent()->getDataLayout()<wbr>), ST(TM->getSubtargetImpl(F)),<br>
TLI(ST->getTargetLowering()) {}<br>
<br>
- // Provide value semantics. MSVC requires that we spell all of these out.<br>
- AArch64TTIImpl(const AArch64TTIImpl &Arg)<br>
- : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI) {}<br>
- AArch64TTIImpl(AArch64TTIImpl &&Arg)<br>
- : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))), ST(std::move(Arg.ST)),<br>
- TLI(std::move(Arg.TLI)) {}<br>
-<br>
/// \name Scalar TTI Implementations<br>
/// @{<br>
<br>
<br>
Modified: llvm/trunk/lib/Target/AMDGPU/<wbr>AMDGPUTargetTransformInfo.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>AMDGPU/<wbr>AMDGPUTargetTransformInfo.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/lib/Target/AMDGPU/<wbr>AMDGPUTargetTransformInfo.h (original)<br>
+++ llvm/trunk/lib/Target/AMDGPU/<wbr>AMDGPUTargetTransformInfo.h Thu Oct 20 07:20:28 2016<br>
@@ -64,13 +64,6 @@ public:<br>
ST(TM->getSubtargetImpl(F)),<br>
TLI(ST->getTargetLowering()) {}<br>
<br>
- // Provide value semantics. MSVC requires that we spell all of these out.<br>
- AMDGPUTTIImpl(const AMDGPUTTIImpl &Arg)<br>
- : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI) {}<br>
- AMDGPUTTIImpl(AMDGPUTTIImpl &&Arg)<br>
- : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))), ST(std::move(Arg.ST)),<br>
- TLI(std::move(Arg.TLI)) {}<br>
-<br>
bool hasBranchDivergence() { return true; }<br>
<br>
void getUnrollingPreferences(Loop *L, TTI::UnrollingPreferences &UP);<br>
<br>
Modified: llvm/trunk/lib/Target/ARM/<wbr>ARMTargetTransformInfo.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMTargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>ARM/ARMTargetTransformInfo.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/lib/Target/ARM/<wbr>ARMTargetTransformInfo.h (original)<br>
+++ llvm/trunk/lib/Target/ARM/<wbr>ARMTargetTransformInfo.h Thu Oct 20 07:20:28 2016<br>
@@ -45,13 +45,6 @@ public:<br>
: BaseT(TM, F.getParent()->getDataLayout()<wbr>), ST(TM->getSubtargetImpl(F)),<br>
TLI(ST->getTargetLowering()) {}<br>
<br>
- // Provide value semantics. MSVC requires that we spell all of these out.<br>
- ARMTTIImpl(const ARMTTIImpl &Arg)<br>
- : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI) {}<br>
- ARMTTIImpl(ARMTTIImpl &&Arg)<br>
- : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))), ST(std::move(Arg.ST)),<br>
- TLI(std::move(Arg.TLI)) {}<br>
-<br>
bool enableInterleavedAccessVectori<wbr>zation() { return true; }<br>
<br>
/// Floating-point computation using ARMv8 AArch32 Advanced<br>
<br>
Modified: llvm/trunk/lib/Target/Hexagon/<wbr>HexagonTargetTransformInfo.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonTargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>Hexagon/<wbr>HexagonTargetTransformInfo.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/lib/Target/Hexagon/<wbr>HexagonTargetTransformInfo.h (original)<br>
+++ llvm/trunk/lib/Target/Hexagon/<wbr>HexagonTargetTransformInfo.h Thu Oct 20 07:20:28 2016<br>
@@ -40,13 +40,6 @@ public:<br>
: BaseT(TM, F.getParent()->getDataLayout()<wbr>), ST(TM->getSubtargetImpl(F)),<br>
TLI(ST->getTargetLowering()) {}<br>
<br>
- // Provide value semantics. MSVC requires that we spell all of these out.<br>
- HexagonTTIImpl(const HexagonTTIImpl &Arg)<br>
- : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI) {}<br>
- HexagonTTIImpl(HexagonTTIImpl &&Arg)<br>
- : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))), ST(std::move(Arg.ST)),<br>
- TLI(std::move(Arg.TLI)) {}<br>
-<br>
/// \name Scalar TTI Implementations<br>
/// @{<br>
<br>
<br>
Modified: llvm/trunk/lib/Target/Lanai/<wbr>LanaiTargetTransformInfo.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Lanai/LanaiTargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>Lanai/<wbr>LanaiTargetTransformInfo.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/lib/Target/Lanai/<wbr>LanaiTargetTransformInfo.h (original)<br>
+++ llvm/trunk/lib/Target/Lanai/<wbr>LanaiTargetTransformInfo.h Thu Oct 20 07:20:28 2016<br>
@@ -41,11 +41,6 @@ public:<br>
: BaseT(TM, F.getParent()->getDataLayout()<wbr>), ST(TM->getSubtargetImpl(F)),<br>
TLI(ST->getTargetLowering()) {}<br>
<br>
- LanaiTTIImpl(const LanaiTTIImpl &Arg)<br>
- : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI) {}<br>
- LanaiTTIImpl(LanaiTTIImpl &&Arg)<br>
- : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))), ST(Arg.ST), TLI(Arg.TLI) {}<br>
-<br>
bool shouldBuildLookupTables() const { return false; }<br>
<br>
TargetTransformInfo::<wbr>PopcntSupportKind getPopcntSupport(unsigned TyWidth) {<br>
<br>
Modified: llvm/trunk/lib/Target/NVPTX/<wbr>NVPTXTargetTransformInfo.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/NVPTX/NVPTXTargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>NVPTX/<wbr>NVPTXTargetTransformInfo.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/lib/Target/NVPTX/<wbr>NVPTXTargetTransformInfo.h (original)<br>
+++ llvm/trunk/lib/Target/NVPTX/<wbr>NVPTXTargetTransformInfo.h Thu Oct 20 07:20:28 2016<br>
@@ -41,13 +41,6 @@ public:<br>
: BaseT(TM, F.getParent()->getDataLayout()<wbr>), ST(TM->getSubtargetImpl()),<br>
TLI(ST->getTargetLowering()) {}<br>
<br>
- // Provide value semantics. MSVC requires that we spell all of these out.<br>
- NVPTXTTIImpl(const NVPTXTTIImpl &Arg)<br>
- : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI) {}<br>
- NVPTXTTIImpl(NVPTXTTIImpl &&Arg)<br>
- : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))), ST(std::move(Arg.ST)),<br>
- TLI(std::move(Arg.TLI)) {}<br>
-<br>
bool hasBranchDivergence() { return true; }<br>
<br>
bool isSourceOfDivergence(const Value *V);<br>
<br>
Modified: llvm/trunk/lib/Target/PowerPC/<wbr>PPCTargetTransformInfo.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCTargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>PowerPC/<wbr>PPCTargetTransformInfo.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/lib/Target/PowerPC/<wbr>PPCTargetTransformInfo.h (original)<br>
+++ llvm/trunk/lib/Target/PowerPC/<wbr>PPCTargetTransformInfo.h Thu Oct 20 07:20:28 2016<br>
@@ -41,13 +41,6 @@ public:<br>
: BaseT(TM, F.getParent()->getDataLayout()<wbr>), ST(TM->getSubtargetImpl(F)),<br>
TLI(ST->getTargetLowering()) {}<br>
<br>
- // Provide value semantics. MSVC requires that we spell all of these out.<br>
- PPCTTIImpl(const PPCTTIImpl &Arg)<br>
- : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI) {}<br>
- PPCTTIImpl(PPCTTIImpl &&Arg)<br>
- : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))), ST(std::move(Arg.ST)),<br>
- TLI(std::move(Arg.TLI)) {}<br>
-<br>
/// \name Scalar TTI Implementations<br>
/// @{<br>
<br>
<br>
Modified: llvm/trunk/lib/Target/SystemZ/<wbr>SystemZTargetTransformInfo.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/SystemZTargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>SystemZ/<wbr>SystemZTargetTransformInfo.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/lib/Target/SystemZ/<wbr>SystemZTargetTransformInfo.h (original)<br>
+++ llvm/trunk/lib/Target/SystemZ/<wbr>SystemZTargetTransformInfo.h Thu Oct 20 07:20:28 2016<br>
@@ -32,13 +32,6 @@ public:<br>
: BaseT(TM, F.getParent()->getDataLayout()<wbr>), ST(TM->getSubtargetImpl(F)),<br>
TLI(ST->getTargetLowering()) {}<br>
<br>
- // Provide value semantics. MSVC requires that we spell all of these out.<br>
- SystemZTTIImpl(const SystemZTTIImpl &Arg)<br>
- : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI) {}<br>
- SystemZTTIImpl(SystemZTTIImpl &&Arg)<br>
- : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))), ST(std::move(Arg.ST)),<br>
- TLI(std::move(Arg.TLI)) {}<br>
-<br>
/// \name Scalar TTI Implementations<br>
/// @{<br>
<br>
<br>
Modified: llvm/trunk/lib/Target/<wbr>WebAssembly/<wbr>WebAssemblyTargetTransformInfo<wbr>.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>WebAssembly/<wbr>WebAssemblyTargetTransformInfo<wbr>.h?rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/lib/Target/<wbr>WebAssembly/<wbr>WebAssemblyTargetTransformInfo<wbr>.h (original)<br>
+++ llvm/trunk/lib/Target/<wbr>WebAssembly/<wbr>WebAssemblyTargetTransformInfo<wbr>.h Thu Oct 20 07:20:28 2016<br>
@@ -42,13 +42,6 @@ public:<br>
: BaseT(TM, F.getParent()->getDataLayout()<wbr>), ST(TM->getSubtargetImpl(F)),<br>
TLI(ST->getTargetLowering()) {}<br>
<br>
- // Provide value semantics. MSVC requires that we spell all of these out.<br>
- WebAssemblyTTIImpl(const WebAssemblyTTIImpl &Arg)<br>
- : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI) {}<br>
- WebAssemblyTTIImpl(<wbr>WebAssemblyTTIImpl &&Arg)<br>
- : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))), ST(std::move(Arg.ST)),<br>
- TLI(std::move(Arg.TLI)) {}<br>
-<br>
/// \name Scalar TTI Implementations<br>
/// @{<br>
<br>
<br>
Modified: llvm/trunk/lib/Target/X86/<wbr>X86TargetTransformInfo.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86TargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>X86/X86TargetTransformInfo.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/lib/Target/X86/<wbr>X86TargetTransformInfo.h (original)<br>
+++ llvm/trunk/lib/Target/X86/<wbr>X86TargetTransformInfo.h Thu Oct 20 07:20:28 2016<br>
@@ -43,13 +43,6 @@ public:<br>
: BaseT(TM, F.getParent()->getDataLayout()<wbr>), ST(TM->getSubtargetImpl(F)),<br>
TLI(ST->getTargetLowering()) {}<br>
<br>
- // Provide value semantics. MSVC requires that we spell all of these out.<br>
- X86TTIImpl(const X86TTIImpl &Arg)<br>
- : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI) {}<br>
- X86TTIImpl(X86TTIImpl &&Arg)<br>
- : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))), ST(std::move(Arg.ST)),<br>
- TLI(std::move(Arg.TLI)) {}<br>
-<br>
/// \name Scalar TTI Implementations<br>
/// @{<br>
TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth);<br>
<br>
Modified: llvm/trunk/lib/Target/XCore/<wbr>XCoreTargetTransformInfo.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/XCore/XCoreTargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>XCore/<wbr>XCoreTargetTransformInfo.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/lib/Target/XCore/<wbr>XCoreTargetTransformInfo.h (original)<br>
+++ llvm/trunk/lib/Target/XCore/<wbr>XCoreTargetTransformInfo.h Thu Oct 20 07:20:28 2016<br>
@@ -41,13 +41,6 @@ public:<br>
: BaseT(TM, F.getParent()->getDataLayout()<wbr>), ST(TM->getSubtargetImpl()),<br>
TLI(ST->getTargetLowering()) {}<br>
<br>
- // Provide value semantics. MSVC requires that we spell all of these out.<br>
- XCoreTTIImpl(const XCoreTTIImpl &Arg)<br>
- : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI) {}<br>
- XCoreTTIImpl(XCoreTTIImpl &&Arg)<br>
- : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))), ST(std::move(Arg.ST)),<br>
- TLI(std::move(Arg.TLI)) {}<br>
-<br>
unsigned getNumberOfRegisters(bool Vector) {<br>
if (Vector) {<br>
return 0;<br>
<br>
Modified: llvm/trunk/lib/Transforms/<wbr>Utils/ValueMapper.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/ValueMapper.cpp?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/<wbr>Transforms/Utils/ValueMapper.<wbr>cpp?rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/lib/Transforms/<wbr>Utils/ValueMapper.cpp (original)<br>
+++ llvm/trunk/lib/Transforms/<wbr>Utils/ValueMapper.cpp Thu Oct 20 07:20:28 2016<br>
@@ -38,15 +38,6 @@ struct DelayedBasicBlock {<br>
BasicBlock *OldBB;<br>
std::unique_ptr<BasicBlock> TempBB;<br>
<br>
- // Explicit move for MSVC.<br>
- DelayedBasicBlock(<wbr>DelayedBasicBlock &&X)<br>
- : OldBB(std::move(X.OldBB)), TempBB(std::move(X.TempBB)) {}<br>
- DelayedBasicBlock &operator=(DelayedBasicBlock &&X) {<br>
- OldBB = std::move(X.OldBB);<br>
- TempBB = std::move(X.TempBB);<br>
- return *this;<br>
- }<br>
-<br>
DelayedBasicBlock(const BlockAddress &Old)<br>
: OldBB(Old.getBasicBlock()),<br>
TempBB(BasicBlock::Create(Old.<wbr>getContext())) {}<br>
@@ -184,17 +175,6 @@ class MDNodeMapper {<br>
bool HasChanged = false;<br>
unsigned ID = ~0u;<br>
TempMDNode Placeholder;<br>
-<br>
- Data() {}<br>
- Data(Data &&X)<br>
- : HasChanged(std::move(X.<wbr>HasChanged)), ID(std::move(<a href="http://X.ID" rel="noreferrer" target="_blank">X.ID</a>)),<br>
- Placeholder(std::move(X.<wbr>Placeholder)) {}<br>
- Data &operator=(Data &&X) {<br>
- HasChanged = std::move(X.HasChanged);<br>
- ID = std::move(<a href="http://X.ID" rel="noreferrer" target="_blank">X.ID</a>);<br>
- Placeholder = std::move(X.Placeholder);<br>
- return *this;<br>
- }<br>
};<br>
<br>
/// A graph of uniqued nodes.<br>
<br>
<br>
______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>