diff options
author | Yuanfang Chen <yuanfang.chen@sony.com> | 2019-09-30 18:32:38 +0000 |
---|---|---|
committer | Yuanfang Chen <yuanfang.chen@sony.com> | 2019-09-30 18:32:38 +0000 |
commit | f0ca10f2abf300b863e5706b4b68c2e88141e53e (patch) | |
tree | 84eeb4d90c5163bd6e9942b79049fa53225b8306 | |
parent | 218bea9703ef36db8782e601e210615dcfddacb4 (diff) | |
download | bcm5719-llvm-f0ca10f2abf300b863e5706b4b68c2e88141e53e.tar.gz bcm5719-llvm-f0ca10f2abf300b863e5706b4b68c2e88141e53e.zip |
Fix build warning for r373240.
llvm-svn: 373244
-rw-r--r-- | llvm/include/llvm/CodeGen/MachineModuleInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineModuleInfo.h b/llvm/include/llvm/CodeGen/MachineModuleInfo.h index c5c1889cf22..b8e00395a47 100644 --- a/llvm/include/llvm/CodeGen/MachineModuleInfo.h +++ b/llvm/include/llvm/CodeGen/MachineModuleInfo.h @@ -144,11 +144,12 @@ class MachineModuleInfo { const Function *LastRequest = nullptr; ///< Used for shortcut/cache. MachineFunction *LastResult = nullptr; ///< Used for shortcut/cache. + MachineModuleInfo &operator=(MachineModuleInfo &&MMII) = delete; + public: explicit MachineModuleInfo(const LLVMTargetMachine *TM = nullptr); MachineModuleInfo(MachineModuleInfo &&MMII); - MachineModuleInfo &operator=(MachineModuleInfo &&MMII) = default; ~MachineModuleInfo(); |