[PATCH] D152234: [CodeGen] Disable default copy ctor and copy assignment operator for class Scoreboard
Bing Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 6 23:30:44 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0b48f51f0b6a: [CodeGen] Disable default copy ctor and copy assignment operator for class… (authored by yubing).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152234/new/
https://reviews.llvm.org/D152234
Files:
llvm/include/llvm/CodeGen/ScoreboardHazardRecognizer.h
Index: llvm/include/llvm/CodeGen/ScoreboardHazardRecognizer.h
===================================================================
--- llvm/include/llvm/CodeGen/ScoreboardHazardRecognizer.h
+++ llvm/include/llvm/CodeGen/ScoreboardHazardRecognizer.h
@@ -49,7 +49,8 @@
public:
Scoreboard() = default;
-
+ Scoreboard &operator=(const Scoreboard &other) = delete;
+ Scoreboard(const Scoreboard &other) = delete;
~Scoreboard() {
delete[] Data;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152234.529180.patch
Type: text/x-patch
Size: 473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230607/8f273d1c/attachment.bin>
More information about the llvm-commits
mailing list