Skip to content

Commit 04e2a5d

Browse files
committed
Apply clang-tidy fixes for readability-identifier-naming in IRDLLoading.cpp (NFC)
1 parent e730f76 commit 04e2a5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/lib/Dialect/IRDL/IRDLLoading.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -491,10 +491,10 @@ static bool getBases(Operation *op, SmallPtrSet<TypeID, 4> &paramIds,
491491
SmallPtrSet<TypeID, 4> &isIds) {
492492
// For `irdl.any_of`, we get the bases from all its arguments.
493493
if (auto anyOf = dyn_cast<AnyOfOp>(op)) {
494-
bool has_any = false;
494+
bool hasAny = false;
495495
for (Value arg : anyOf.getArgs())
496-
has_any &= getBases(arg.getDefiningOp(), paramIds, paramIrdlOps, isIds);
497-
return has_any;
496+
hasAny &= getBases(arg.getDefiningOp(), paramIds, paramIrdlOps, isIds);
497+
return hasAny;
498498
}
499499

500500
// For `irdl.all_of`, we get the bases from the first argument.

0 commit comments

Comments
 (0)