Skip to content

Commit 01a7b82

Browse files
committed
Apply clang-tidy fixes for readability-identifier-naming in QuasiPolynomial.cpp (NFC)
1 parent b7dc33e commit 01a7b82

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mlir/lib/Analysis/Presburger/QuasiPolynomial.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,14 @@ QuasiPolynomial QuasiPolynomial::simplify() {
113113
// A term is zero if its coefficient is zero, or
114114
if (coefficients[i] == Fraction(0, 1))
115115
continue;
116-
bool product_is_zero =
116+
bool productIsZero =
117117
// if any of the affine functions in the product
118-
llvm::any_of(affine[i], [](const SmallVector<Fraction> &affine_ij) {
118+
llvm::any_of(affine[i], [](const SmallVector<Fraction> &affineIj) {
119119
// has all its coefficients as zero.
120-
return llvm::all_of(affine_ij,
120+
return llvm::all_of(affineIj,
121121
[](const Fraction &f) { return f == 0; });
122122
});
123-
if (product_is_zero)
123+
if (productIsZero)
124124
continue;
125125

126126
// Now, we know the term is nonzero.

0 commit comments

Comments
 (0)