[Mlir-commits] [mlir] 41182a6 - Apply clang-tidy fixes for llvm-qualified-auto in OpFormatGen.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Mon Sep 12 18:09:43 PDT 2022
Author: Mehdi Amini
Date: 2022-09-13T01:09:14Z
New Revision: 41182a65a64a79752bcb666f15001ea74ec70fdf
URL: https://github.com/llvm/llvm-project/commit/41182a65a64a79752bcb666f15001ea74ec70fdf
DIFF: https://github.com/llvm/llvm-project/commit/41182a65a64a79752bcb666f15001ea74ec70fdf.diff
LOG: Apply clang-tidy fixes for llvm-qualified-auto in OpFormatGen.cpp (NFC)
Added:
Modified:
mlir/tools/mlir-tblgen/OpFormatGen.cpp
Removed:
################################################################################
diff --git a/mlir/tools/mlir-tblgen/OpFormatGen.cpp b/mlir/tools/mlir-tblgen/OpFormatGen.cpp
index 304af57292f4..c8ca8090f0d4 100644
--- a/mlir/tools/mlir-tblgen/OpFormatGen.cpp
+++ b/mlir/tools/mlir-tblgen/OpFormatGen.cpp
@@ -2468,7 +2468,7 @@ LogicalResult
OpFormatParser::verifyAttributeColonType(SMLoc loc,
ArrayRef<FormatElement *> elements) {
auto isBase = [](FormatElement *el) {
- auto attr = dyn_cast<AttributeVariable>(el);
+ auto *attr = dyn_cast<AttributeVariable>(el);
if (!attr)
return false;
// Check only attributes without type builders or that are known to call
More information about the Mlir-commits
mailing list