[clang] [CIR] Add inline function attributes (PR #162866)

Bruno Cardoso Lopes via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 10 11:08:47 PDT 2025


================
@@ -1801,6 +1817,16 @@ void cir::FuncOp::print(OpAsmPrinter &p) {
     p << ")";
   }
 
+  if (auto inlineKind = getInlineKind()) {
----------------
bcardosolopes wrote:

We shouldn't have to do this manually either, seems like we are printing/parsing different names than the tablegen encodes, we should only have the tablegen version and have all this be autogenerated

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


More information about the cfe-commits mailing list