Skip to content

Commit 31f4559

Browse files
committed
Apply clang-tidy fixes for performance-unnecessary-value-param in SerializationTest.cpp (NFC)
1 parent 1893a37 commit 31f4559

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/unittests/Dialect/SPIRV/SerializationTest.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class SerializationTest : public ::testing::Test {
7777
}
7878

7979
// Inserts an Integer or a Vector of Integers constant of value 'val'.
80-
spirv::ConstantOp AddConstInt(Type type, APInt val) {
80+
spirv::ConstantOp AddConstInt(Type type, const APInt &val) {
8181
OpBuilder builder(module->getRegion());
8282
auto loc = UnknownLoc::get(&context);
8383

0 commit comments

Comments
 (0)