[flang-commits] [clang] [flang] [llvm] [mlir] Make Ownership of MachineModuleInfo in Its Wrapper Pass External (PR #110443)

Arthur Eubanks via flang-commits flang-commits at lists.llvm.org
Thu Oct 3 12:56:36 PDT 2024


================
@@ -106,16 +106,18 @@ class MachineModuleInfo {
   const Function *LastRequest = nullptr; ///< Used for shortcut/cache.
   MachineFunction *LastResult = nullptr; ///< Used for shortcut/cache.
 
-  MachineModuleInfo &operator=(MachineModuleInfo &&MMII) = delete;
+  /// Deleted copy constructor
----------------
aeubanks wrote:

comment is not useful, I'd either say why it's deleted or just remove the comment

https://github.com/llvm/llvm-project/pull/110443


More information about the flang-commits mailing list