[Mlir-commits] [mlir] 99822be - Apply clang-tidy fixes for readability-identifier-naming in SerializationTest.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Wed Feb 21 18:09:28 PST 2024
Author: Mehdi Amini
Date: 2024-02-21T18:09:09-08:00
New Revision: 99822be6f08e42eef38913a128996a93e8292f73
URL: https://github.com/llvm/llvm-project/commit/99822be6f08e42eef38913a128996a93e8292f73
DIFF: https://github.com/llvm/llvm-project/commit/99822be6f08e42eef38913a128996a93e8292f73.diff
LOG: Apply clang-tidy fixes for readability-identifier-naming in SerializationTest.cpp (NFC)
Added:
Modified:
mlir/unittests/Dialect/SPIRV/SerializationTest.cpp
Removed:
################################################################################
diff --git a/mlir/unittests/Dialect/SPIRV/SerializationTest.cpp b/mlir/unittests/Dialect/SPIRV/SerializationTest.cpp
index 3a6bcbd999a57a..9d2f690ed898af 100644
--- a/mlir/unittests/Dialect/SPIRV/SerializationTest.cpp
+++ b/mlir/unittests/Dialect/SPIRV/SerializationTest.cpp
@@ -77,7 +77,7 @@ class SerializationTest : public ::testing::Test {
}
// Inserts an Integer or a Vector of Integers constant of value 'val'.
- spirv::ConstantOp AddConstInt(Type type, const APInt &val) {
+ spirv::ConstantOp addConstInt(Type type, const APInt &val) {
OpBuilder builder(module->getRegion());
auto loc = UnknownLoc::get(&context);
@@ -181,8 +181,8 @@ TEST_F(SerializationTest, SignlessVsSignedIntegerConstantBitExtension) {
APInt signedIntConstVal(signedInt16Type.getWidth(), -1,
signedInt16Type.getSignedness());
- AddConstInt(signlessInt16Type, signlessIntConstVal);
- AddConstInt(signedInt16Type, signedIntConstVal);
+ addConstInt(signlessInt16Type, signlessIntConstVal);
+ addConstInt(signedInt16Type, signedIntConstVal);
ASSERT_TRUE(succeeded(spirv::serialize(module.get(), binary)));
auto hasSignlessVal = [&](spirv::Opcode opcode, ArrayRef<uint32_t> operands) {
More information about the Mlir-commits
mailing list