forked from OSchip/llvm-project
Apply clang-tidy fixes for performance-unnecessary-value-param in ControlFlowInterfaces.cpp (NFC)
This commit is contained in:
parent
5f7c385498
commit
f9735be7e2
|
@ -6,6 +6,8 @@
|
||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
#include "mlir/Interfaces/ControlFlowInterfaces.h"
|
#include "mlir/Interfaces/ControlFlowInterfaces.h"
|
||||||
#include "mlir/IR/BuiltinTypes.h"
|
#include "mlir/IR/BuiltinTypes.h"
|
||||||
#include "llvm/ADT/SmallPtrSet.h"
|
#include "llvm/ADT/SmallPtrSet.h"
|
||||||
|
@ -19,7 +21,8 @@ using namespace mlir;
|
||||||
#include "mlir/Interfaces/ControlFlowInterfaces.cpp.inc"
|
#include "mlir/Interfaces/ControlFlowInterfaces.cpp.inc"
|
||||||
|
|
||||||
SuccessorOperands::SuccessorOperands(MutableOperandRange forwardedOperands)
|
SuccessorOperands::SuccessorOperands(MutableOperandRange forwardedOperands)
|
||||||
: producedOperandCount(0), forwardedOperands(forwardedOperands) {}
|
: producedOperandCount(0), forwardedOperands(std::move(forwardedOperands)) {
|
||||||
|
}
|
||||||
|
|
||||||
SuccessorOperands::SuccessorOperands(unsigned int producedOperandCount,
|
SuccessorOperands::SuccessorOperands(unsigned int producedOperandCount,
|
||||||
MutableOperandRange forwardedOperands)
|
MutableOperandRange forwardedOperands)
|
||||||
|
|
Loading…
Reference in New Issue