[Mlir-commits] [mlir] [mlir][Python] fix IRInterfaces.h (PR #181522)
Rolf Morel
llvmlistbot at llvm.org
Sun Feb 15 04:51:35 PST 2026
================
@@ -20,18 +20,6 @@ namespace mlir {
namespace python {
namespace MLIR_BINDINGS_PYTHON_DOMAIN {
-constexpr static const char *constructorDoc =
- R"(Creates an interface from a given operation/opview object or from a
-subclass of OpView. Raises ValueError if the operation does not implement the
-interface.)";
-
-constexpr static const char *operationDoc =
- R"(Returns an Operation for which the interface was constructed.)";
-
-constexpr static const char *opviewDoc =
- R"(Returns an OpView subclass _instance_ for which the interface was
-constructed)";
-
----------------
rolfmorel wrote:
Ah, I see now that you inlined them into the binding definitions.
Was too quick in assuming these were being used elsewhere and that removing them had no effect. My bad.
https://github.com/llvm/llvm-project/pull/181522
More information about the Mlir-commits
mailing list