[Mlir-commits] [mlir] b1d682e - Apply clang-tidy fixes for readability-identifier-naming in IRCore.cpp (NFC)

Mehdi Amini llvmlistbot at llvm.org
Sat Nov 18 15:38:37 PST 2023


Author: Mehdi Amini
Date: 2023-11-18T15:38:21-08:00
New Revision: b1d682e05a63dfafa0c016498527f02edb9b69b2

URL: https://github.com/llvm/llvm-project/commit/b1d682e05a63dfafa0c016498527f02edb9b69b2
DIFF: https://github.com/llvm/llvm-project/commit/b1d682e05a63dfafa0c016498527f02edb9b69b2.diff

LOG: Apply clang-tidy fixes for readability-identifier-naming in IRCore.cpp (NFC)

Added: 
    

Modified: 
    mlir/lib/Bindings/Python/IRCore.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Bindings/Python/IRCore.cpp b/mlir/lib/Bindings/Python/IRCore.cpp
index d75cd8a0c9f79c8..4aa8df1bd802565 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 "


        


More information about the Mlir-commits mailing list