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 5f7c385 commit f9735beCopy full SHA for f9735be
mlir/lib/Interfaces/ControlFlowInterfaces.cpp
@@ -6,6 +6,8 @@
6
//
7
//===----------------------------------------------------------------------===//
8
9
+#include <utility>
10
+
11
#include "mlir/Interfaces/ControlFlowInterfaces.h"
12
#include "mlir/IR/BuiltinTypes.h"
13
#include "llvm/ADT/SmallPtrSet.h"
@@ -19,7 +21,8 @@ using namespace mlir;
19
21
#include "mlir/Interfaces/ControlFlowInterfaces.cpp.inc"
20
22
23
SuccessorOperands::SuccessorOperands(MutableOperandRange forwardedOperands)
- : producedOperandCount(0), forwardedOperands(forwardedOperands) {}
24
+ : producedOperandCount(0), forwardedOperands(std::move(forwardedOperands)) {
25
+}
26
27
SuccessorOperands::SuccessorOperands(unsigned int producedOperandCount,
28
MutableOperandRange forwardedOperands)
0 commit comments