Skip to content

Commit 2bfbae9

Browse files
committed
[MLIR] Apply clang-tidy fixes for readability-identifier-naming in IRCore.cpp (NFC)
1 parent 8344a53 commit 2bfbae9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/lib/Bindings/Python/IRCore.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -729,17 +729,17 @@ size_t PyMlirContext::clearLiveOperations() {
729729
}
730730

731731
void PyMlirContext::clearOperation(MlirOperation op) {
732-
PyOperation *py_op;
732+
PyOperation *pyOp;
733733
{
734734
nb::ft_lock_guard lock(liveOperationsMutex);
735735
auto it = liveOperations.find(op.ptr);
736736
if (it == liveOperations.end()) {
737737
return;
738738
}
739-
py_op = it->second.second;
739+
pyOp = it->second.second;
740740
liveOperations.erase(it);
741741
}
742-
py_op->setInvalid();
742+
pyOp->setInvalid();
743743
}
744744

745745
void PyMlirContext::clearOperationsInside(PyOperationBase &op) {

0 commit comments

Comments
 (0)