[Mlir-commits] [mlir] [mlir][Python] fix IRInterfaces.h (PR #181522)
Maksim Levental
llvmlistbot at llvm.org
Sun Feb 15 04:18:46 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)";
-
----------------
makslevental wrote:
What I meant is the effect of `constexpr static` (interning the strings) is negated by being in a header (not that the code is dead).
https://github.com/llvm/llvm-project/pull/181522
More information about the Mlir-commits
mailing list