[Mlir-commits] [mlir] [mlir][EmitC] Create a pass to add a reflection map to a class (PR #205464)

ioana ghiban llvmlistbot at llvm.org
Tue Jul 14 02:32:32 PDT 2026


================
@@ -0,0 +1,57 @@
+// RUN: mlir-opt -split-input-file --mlgo-add-reflection-map="field-attr-name=emitc.field_ref excluded-field-attrs=emitc.other_field" %s | mlir-translate -mlir-to-cpp | FileCheck %s
+
+// Test that a reflection map and lookup function are generated in the class.
----------------
ioghiban wrote:

[nit]: use three slashes in test comments

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


More information about the Mlir-commits mailing list