aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mlir/lib/Bindings/Python/Pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/lib/Bindings/Python/Pass.cpp b/mlir/lib/Bindings/Python/Pass.cpp
index b3fa3d0..a641803 100644
--- a/mlir/lib/Bindings/Python/Pass.cpp
+++ b/mlir/lib/Bindings/Python/Pass.cpp
@@ -123,11 +123,11 @@ void mlir::python::populatePassManagerSubmodule(py::module &m) {
op.getOperation().getContext()->clearOperationsInside(op);
}
// Actually run the pass manager.
- PyMlirContext::ErrorCapture error_capture(
+ PyMlirContext::ErrorCapture errorCapture(
op.getOperation().getContext());
MlirLogicalResult status = mlirPassManagerRunOnOp(
passManager.get(), op.getOperation().get());
- auto errors = error_capture.take();
+ auto errors = errorCapture.take();
if (mlirLogicalResultIsFailure(status)) {
throw MLIRError("Failure while executing pass pipeline",
std::move(errors));