[Mlir-commits] [mlir] [mlir][emitc] Update the `WrapFuncInClassPass` pass (PR #179184)

Andrzej WarzyƄski llvmlistbot at llvm.org
Mon Feb 2 07:24:17 PST 2026


================
@@ -28,8 +28,11 @@ ExpressionOp createExpression(Operation *op, OpBuilder &builder);
 /// Populates `patterns` with expression-related patterns.
 void populateExpressionPatterns(RewritePatternSet &patterns);
 
-/// Populates 'patterns' with func-related patterns.
-void populateFuncPatterns(RewritePatternSet &patterns);
+//===----------------------------------------------------------------------===//
+// The WrapFuncInClass pass.
+//===----------------------------------------------------------------------===//
+
+void populateWrapFuncInClass(RewritePatternSet &patterns, std::string &fName);
----------------
banach-space wrote:

This is a perfect job for `StringRef`, thanks for the suggestion!

https://github.com/llvm/llvm-project/pull/179184


More information about the Mlir-commits mailing list