================ @@ -71,6 +130,23 @@ static cir::CIRCallOpInterface emitCallLikeOp(CIRGenFunction &cgf, return builder.createCallOp(callLoc, directFuncOp); } +const CIRGenFunctionInfo & +CIRGenTypes::arrangeFreeFunctionType(CanQual<FunctionProtoType> fpt) { + SmallVector<CanQualType, 16> argTypes; + for (unsigned i = 0, e = fpt->getNumParams(); i != e; ++i) ---------------- erichkeane wrote:
Is this not just a `llvm::copy(fpt->param_types(), std::back_inserter(argTypes))` ? https://github.com/llvm/llvm-project/pull/136854 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits