[clang] [CIR] Upstream support for function/call calling conventions (PR #181170)

Sirui Mu via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 12 08:42:34 PST 2026


================
@@ -2074,6 +2100,21 @@ ParseResult cir::FuncOp::parse(OpAsmParser &parser, OperationState &state) {
       return failure();
   }
 
+  auto callConvNameAttr = getCallingConvAttrName(state.name);
----------------
Lancern wrote:

```suggestion
  llvm::StringRef callConvNameAttr = getCallingConvAttrName(state.name);
```

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


More information about the cfe-commits mailing list