[PATCH] D152239: [CodeGen] Disable default copy ctor and copy assignment operator for VLIWResourceModel
Bing Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 6 23:27:26 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG8ea3afeed59a: [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/D152239/new/
https://reviews.llvm.org/D152239
Files:
llvm/include/llvm/CodeGen/VLIWMachineScheduler.h
Index: llvm/include/llvm/CodeGen/VLIWMachineScheduler.h
===================================================================
--- llvm/include/llvm/CodeGen/VLIWMachineScheduler.h
+++ llvm/include/llvm/CodeGen/VLIWMachineScheduler.h
@@ -48,7 +48,8 @@
public:
VLIWResourceModel(const TargetSubtargetInfo &STI, const TargetSchedModel *SM);
-
+ VLIWResourceModel &operator=(const VLIWResourceModel &other) = delete;
+ VLIWResourceModel(const VLIWResourceModel &other) = delete;
virtual ~VLIWResourceModel();
virtual void reset();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152239.529176.patch
Type: text/x-patch
Size: 540 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230607/60a8c142/attachment.bin>
More information about the llvm-commits
mailing list