Skip to content

Commit 838a41a

Browse files
committed
Fix formatting
1 parent 7de3873 commit 838a41a

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

mlir/include/mlir/Dialect/Transform/SMTExtension/SMTExtensionOps.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@
1818
#define GET_OP_CLASSES
1919
#include "mlir/Dialect/Transform/SMTExtension/SMTExtensionOps.h.inc"
2020

21-
2221
#endif // MLIR_DIALECT_TRANSFORM_SMTEXTENSION_SMTEXTENSIONOPS_H

mlir/lib/Bindings/Python/DialectSMT.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ static void populateDialectSMTSubmodule(nanobind::module_ &m) {
4242
},
4343
"cls"_a, "width"_a, "context"_a = nb::none());
4444
auto smtIntType = mlir_type_subclass(m, "IntType", mlirSMTTypeIsAInt)
45-
.def_classmethod(
46-
"get",
47-
[](const nb::object &, MlirContext context) {
48-
return mlirSMTTypeGetInt(context);
49-
},
50-
"cls"_a, "context"_a.none() = nb::none());
45+
.def_classmethod(
46+
"get",
47+
[](const nb::object &, MlirContext context) {
48+
return mlirSMTTypeGetInt(context);
49+
},
50+
"cls"_a, "context"_a.none() = nb::none());
5151

5252
auto exportSMTLIB = [](MlirOperation module, bool inlineSingleUseValues,
5353
bool indentLetBody) {

mlir/python/mlir/dialects/transform/smt.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
except ImportError as e:
1515
raise RuntimeError("Error loading imports from extension module") from e
1616

17+
1718
@_ods_cext.register_operation(_Dialect, replace=True)
1819
class ConstrainParamsOp(ConstrainParamsOp):
1920
def __init__(

0 commit comments

Comments
 (0)