From: Mehdi Amini Date: Sat, 10 Dec 2022 14:16:17 +0000 (+0000) Subject: Apply clang-tidy fixes for readability-identifier-naming in TestDialect.cpp (NFC) X-Git-Tag: upstream/17.0.6~22472 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=caaf5177af816599db73437dd79310d2240e9563;p=platform%2Fupstream%2Fllvm.git Apply clang-tidy fixes for readability-identifier-naming in TestDialect.cpp (NFC) --- diff --git a/mlir/test/lib/Dialect/Test/TestDialect.cpp b/mlir/test/lib/Dialect/Test/TestDialect.cpp index 04a01de..49b189f 100644 --- a/mlir/test/lib/Dialect/Test/TestDialect.cpp +++ b/mlir/test/lib/Dialect/Test/TestDialect.cpp @@ -1183,8 +1183,8 @@ LogicalResult OpWithShapedTypeInferTypeInterfaceOp::inferReturnTypeComponents( auto type = IntegerType::get(context, 17); Attribute encoding; - if (auto ranked_ty = sval.dyn_cast()) - encoding = ranked_ty.getEncoding(); + if (auto rankedTy = sval.dyn_cast()) + encoding = rankedTy.getEncoding(); inferredReturnShapes.push_back(ShapedTypeComponents({dim}, type, encoding)); return success(); }