[llvm] c7cbf56 - Revert "[CodeGen] Disable default copy ctor and copy assignment operator for class Array"
Bing1 Yu via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 15 18:43:06 PDT 2023
Author: Bing1 Yu
Date: 2023-06-16T09:42:36+08:00
New Revision: c7cbf563cebdfeab11dbf6f5fe39488c41799c67
URL: https://github.com/llvm/llvm-project/commit/c7cbf563cebdfeab11dbf6f5fe39488c41799c67
DIFF: https://github.com/llvm/llvm-project/commit/c7cbf563cebdfeab11dbf6f5fe39488c41799c67.diff
LOG: Revert "[CodeGen] Disable default copy ctor and copy assignment operator for class Array"
This reverts commit 466678b5202052dcd38fdfc3f764fb5d5de7c34b.
Added:
Modified:
llvm/include/llvm/CodeGen/LiveIntervalUnion.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/LiveIntervalUnion.h b/llvm/include/llvm/CodeGen/LiveIntervalUnion.h
index e68d64820a72c..81003455da424 100644
--- a/llvm/include/llvm/CodeGen/LiveIntervalUnion.h
+++ b/llvm/include/llvm/CodeGen/LiveIntervalUnion.h
@@ -174,8 +174,6 @@ class LiveIntervalUnion {
public:
Array() = default;
- Array &operator=(const Array &other) = delete;
- Array(const Array &other) = delete;
~Array() { clear(); }
// Initialize the array to have Size entries.
More information about the llvm-commits
mailing list