We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca68507 commit dbc5187Copy full SHA for dbc5187
llvm/include/llvm/CodeGen/LiveIntervalUnion.h
@@ -176,6 +176,13 @@ class LiveIntervalUnion {
176
Array() = default;
177
~Array() { clear(); }
178
179
+ Array(Array &&Other) : Size(Other.Size), LIUs(Other.LIUs) {
180
+ Other.Size = 0;
181
+ Other.LIUs = nullptr;
182
+ }
183
+
184
+ Array(const Array &) = delete;
185
186
// Initialize the array to have Size entries.
187
// Reuse an existing allocation if the size matches.
188
void init(LiveIntervalUnion::Allocator&, unsigned Size);
0 commit comments