[Mlir-commits] [mlir] [mlir][Python] create MLIRPythonSupport (PR #171775)
Jacques Pienaar
llvmlistbot at llvm.org
Fri Dec 26 21:26:59 PST 2025
================
@@ -1413,8 +924,9 @@ nb::object PyOperation::create(std::string_view name,
// Construct the operation.
PyMlirContext::ErrorCapture errors(location.getContext());
MlirOperation operation = mlirOperationCreate(&state);
- if (!operation.ptr)
+ if (!operation.ptr) {
----------------
jpienaar wrote:
Not the current style https://llvm.org/docs/CodingStandards.html#don-t-use-braces-on-simple-single-statement-bodies-of-if-else-loop-statements
https://github.com/llvm/llvm-project/pull/171775
More information about the Mlir-commits
mailing list