From c2828b6363927d1267e2074868e3694c36ae3f50 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Sun, 12 Jun 2022 17:19:15 +0000 Subject: [PATCH] Apply clang-tidy fixes for readability-identifier-naming in ArithmeticOps.cpp (NFC) --- mlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp b/mlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp index 8b9175701ff8..672df0c9947e 100644 --- a/mlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp +++ b/mlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp @@ -773,9 +773,9 @@ void arith::DivFOp::getCanonicalizationPatterns(RewritePatternSet &patterns, OpFoldResult arith::RemFOp::fold(ArrayRef operands) { return constFoldBinaryOp(operands, [](const APFloat &a, const APFloat &b) { - APFloat Result(a); - (void)Result.remainder(b); - return Result; + APFloat result(a); + (void)result.remainder(b); + return result; }); }