[PATCH] D152240: [CodeGen] Disable default copy ctor and copy assignment operator for MachineSchedContext
Bing Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 8 00:50:51 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf2b43a77e110: [CodeGen] Disable default copy ctor and copy assignment operator for… (authored by yubing).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152240/new/
https://reviews.llvm.org/D152240
Files:
llvm/include/llvm/CodeGen/MachineScheduler.h
Index: llvm/include/llvm/CodeGen/MachineScheduler.h
===================================================================
--- llvm/include/llvm/CodeGen/MachineScheduler.h
+++ llvm/include/llvm/CodeGen/MachineScheduler.h
@@ -135,6 +135,8 @@
RegisterClassInfo *RegClassInfo;
MachineSchedContext();
+ MachineSchedContext &operator=(const MachineSchedContext &other) = delete;
+ MachineSchedContext(const MachineSchedContext &other) = delete;
virtual ~MachineSchedContext();
};
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152240.529518.patch
Type: text/x-patch
Size: 488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230608/5d71134c/attachment.bin>
More information about the llvm-commits
mailing list