[Mlir-commits] [mlir] d2b810e - [MLIR] Apply clang-tidy fixes for readability-identifier-naming in DataFlowFramework.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Fri Aug 22 04:13:57 PDT 2025
Author: Mehdi Amini
Date: 2025-08-22T04:12:50-07:00
New Revision: d2b810e24f9f0abf6ea5d0733b3fd988034092aa
URL: https://github.com/llvm/llvm-project/commit/d2b810e24f9f0abf6ea5d0733b3fd988034092aa
DIFF: https://github.com/llvm/llvm-project/commit/d2b810e24f9f0abf6ea5d0733b3fd988034092aa.diff
LOG: [MLIR] Apply clang-tidy fixes for readability-identifier-naming in DataFlowFramework.cpp (NFC)
Added:
Modified:
mlir/lib/Analysis/DataFlowFramework.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Analysis/DataFlowFramework.cpp b/mlir/lib/Analysis/DataFlowFramework.cpp
index 16f7033da7edf..cc2c9eb8b5aa5 100644
--- a/mlir/lib/Analysis/DataFlowFramework.cpp
+++ b/mlir/lib/Analysis/DataFlowFramework.cpp
@@ -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();
More information about the Mlir-commits
mailing list