[Mlir-commits] [mlir] [emitC]Option to mlir-translate class instead of function (PR #141158)
Jaden Angella
llvmlistbot at llvm.org
Fri Jun 13 16:52:38 PDT 2025
Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=,Jaddyen <ajaden at google.com>,Jaddyen
<ajaden at google.com>,Jaddyen <ajaden at google.com>,Jaddyen <ajaden at google.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/141158 at github.com>
================
@@ -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 = {});
----------------
Jaddyen wrote:
Since I have rewritten this to be a pass(in `mlir-opt`) first. I will make sure to clearly document this when updating `mlir-translate`.
https://github.com/llvm/llvm-project/pull/141158
More information about the Mlir-commits
mailing list