Skip to content

Commit 99822be

Browse files
committed
Apply clang-tidy fixes for readability-identifier-naming in SerializationTest.cpp (NFC)
1 parent dd6d059 commit 99822be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/unittests/Dialect/SPIRV/SerializationTest.cpp

Lines changed: 3 additions & 3 deletions
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, const APInt &val) {
80+
spirv::ConstantOp addConstInt(Type type, const APInt &val) {
8181
OpBuilder builder(module->getRegion());
8282
auto loc = UnknownLoc::get(&context);
8383

@@ -181,8 +181,8 @@ TEST_F(SerializationTest, SignlessVsSignedIntegerConstantBitExtension) {
181181
APInt signedIntConstVal(signedInt16Type.getWidth(), -1,
182182
signedInt16Type.getSignedness());
183183

184-
AddConstInt(signlessInt16Type, signlessIntConstVal);
185-
AddConstInt(signedInt16Type, signedIntConstVal);
184+
addConstInt(signlessInt16Type, signlessIntConstVal);
185+
addConstInt(signedInt16Type, signedIntConstVal);
186186
ASSERT_TRUE(succeeded(spirv::serialize(module.get(), binary)));
187187

188188
auto hasSignlessVal = [&](spirv::Opcode opcode, ArrayRef<uint32_t> operands) {

0 commit comments

Comments
 (0)