[PATCH] D64183: [NewPM] Port MachineModuleInfo to the new pass manager.

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 30 11:11:03 PDT 2019


thakis added inline comments.


================
Comment at: llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h:151
+  MachineModuleInfo(MachineModuleInfo &&MMII);
+  MachineModuleInfo &operator=(MachineModuleInfo &&MMII) = default;
+
----------------
This causes

```
../../llvm/include/llvm/CodeGen/MachineModuleInfo.h:151:22: warning: explicitly defaulted move assignment operator is implicitly deleted [-Wdefaulted-function-deleted]
  MachineModuleInfo &operator=(MachineModuleInfo &&MMII) = default;
                     ^
../../llvm/include/llvm/CodeGen/MachineModuleInfo.h:82:28: note: move assignment operator of 'MachineModuleInfo' is implicitly deleted because field 'TM' is of reference type 'const llvm::LLVMTargetMachine &'
  const LLVMTargetMachine &TM;
                           ^
```


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64183/new/

https://reviews.llvm.org/D64183





More information about the llvm-commits mailing list