summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2023-10-20 01:35:56 -0700
committerMehdi Amini <joker.eph@gmail.com>2023-11-18 15:38:21 -0800
commitb1d682e05a63dfafa0c016498527f02edb9b69b2 (patch)
tree203f2f90dfaedcd694a612b6e7f7e0baca7826fa
parent0d109035c29408f06efc148d67aab7e4b2aada5d (diff)
Apply clang-tidy fixes for readability-identifier-naming in IRCore.cpp (NFC)
-rw-r--r--mlir/lib/Bindings/Python/IRCore.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/mlir/lib/Bindings/Python/IRCore.cpp b/mlir/lib/Bindings/Python/IRCore.cpp
index d75cd8a0c9f7..4aa8df1bd802 100644
--- a/mlir/lib/Bindings/Python/IRCore.cpp
+++ b/mlir/lib/Bindings/Python/IRCore.cpp
@@ -3312,9 +3312,9 @@ void mlir::python::populateIRCore(py::module &m) {
.def_property_readonly(
"ref_operation",
[](PyInsertionPoint &self) -> py::object {
- auto ref_operation = self.getRefOperation();
- if (ref_operation)
- return ref_operation->getObject();
+ auto refOperation = self.getRefOperation();
+ if (refOperation)
+ return refOperation->getObject();
return py::none();
},
"The reference operation before which new operations are "