Skip to content

Commit 91dd13b

Browse files
committed
[MLIR] Apply clang-tidy fixes for performance-move-const-arg in SPIRVTypes.cpp (NFC)
1 parent 2af45d3 commit 91dd13b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1322,7 +1322,7 @@ struct spirv::detail::TensorArmTypeStorage final : TypeStorage {
13221322
}
13231323

13241324
TensorArmTypeStorage(ArrayRef<int64_t> shape, Type elementType)
1325-
: shape(std::move(shape)), elementType(std::move(elementType)) {}
1325+
: shape(shape), elementType(elementType) {}
13261326

13271327
ArrayRef<int64_t> shape;
13281328
Type elementType;

0 commit comments

Comments
 (0)