[Mlir-commits] [mlir] [emitC]Option to mlir-translate class instead of function (PR #141158)
Mehdi Amini
llvmlistbot at llvm.org
Thu May 29 12:14:53 PDT 2025
================
@@ -28,7 +28,9 @@ namespace emitc {
/// with matching id are emitted.
LogicalResult translateToCpp(Operation *op, raw_ostream &os,
bool declareVariablesAtTop = false,
- StringRef fileId = {});
+ StringRef fileId = {}, bool emitClass = false,
+ StringRef className = {},
+ StringRef fieldNameAttribute = {});
----------------
joker-eph wrote:
Can you please make sure this is all very clearly documented in the function description?
https://github.com/llvm/llvm-project/pull/141158
More information about the Mlir-commits
mailing list