[CodeGen] Disable default copy ctor and copy assignment operator for class Array
authorBing1 Yu <bing1.yu@intel.com>
Wed, 7 Jun 2023 06:31:42 +0000 (14:31 +0800)
committerBing1 Yu <bing1.yu@intel.com>
Wed, 7 Jun 2023 06:32:06 +0000 (14:32 +0800)
commit466678b5202052dcd38fdfc3f764fb5d5de7c34b
tree05d6694c9162f1e2d5e0bbd0c15476ad17d7f28f
parent93405962f98cbf75c79f54f0d75d82109737f430
[CodeGen] Disable default copy ctor and copy assignment operator for class Array

class Array manages resources such as dynamically allocated memory, it's generally a good practice to either implement a custom copy constructor or disable the default one.

Reviewed By: pengfei

Differential Revision: https://reviews.llvm.org/D152231
llvm/include/llvm/CodeGen/LiveIntervalUnion.h