Skip to content

Commit 2af45d3

Browse files
committed
[MLIR] Apply clang-tidy fixes for performance-unnecessary-value-param in BufferViewFlowOpInterfaceImpl.cpp (NFC)
1 parent 4940794 commit 2af45d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/lib/Dialect/MemRef/Transforms/BufferViewFlowOpInterfaceImpl.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ namespace {
2121
struct ReallocOpInterface
2222
: public BufferViewFlowOpInterface::ExternalModel<ReallocOpInterface,
2323
ReallocOp> {
24-
void
25-
populateDependencies(Operation *op,
26-
RegisterDependenciesFn registerDependenciesFn) const {
24+
void populateDependencies(
25+
Operation *op,
26+
const RegisterDependenciesFn &registerDependenciesFn) const {
2727
auto reallocOp = cast<ReallocOp>(op);
2828
// memref.realloc may return the source operand.
2929
registerDependenciesFn(reallocOp.getSource(), reallocOp.getResult());

0 commit comments

Comments
 (0)