[MLIR] Apply clang-tidy fixes for readability-identifier-naming in DataFlowFramework.cpp (NFC)

This commit is contained in:
Mehdi Amini 2025-08-21 04:29:28 -07:00
parent a8aacb1b66
commit d2b810e24f

View File

@ -78,8 +78,8 @@ void LatticeAnchor::print(raw_ostream &os) const {
os << "<NULL POINT>";
return;
}
if (auto *LatticeAnchor = llvm::dyn_cast<GenericLatticeAnchor *>(*this))
return LatticeAnchor->print(os);
if (auto *latticeAnchor = llvm::dyn_cast<GenericLatticeAnchor *>(*this))
return latticeAnchor->print(os);
if (auto value = llvm::dyn_cast<Value>(*this)) {
return value.print(os, OpPrintingFlags().skipRegions());
}
@ -88,8 +88,8 @@ void LatticeAnchor::print(raw_ostream &os) const {
}
Location LatticeAnchor::getLoc() const {
if (auto *LatticeAnchor = llvm::dyn_cast<GenericLatticeAnchor *>(*this))
return LatticeAnchor->getLoc();
if (auto *latticeAnchor = llvm::dyn_cast<GenericLatticeAnchor *>(*this))
return latticeAnchor->getLoc();
if (auto value = llvm::dyn_cast<Value>(*this))
return value.getLoc();