================ @@ -732,6 +732,16 @@ CodeGenTypes::arrangeBuiltinFunctionDeclaration(CanQualType resultType, RequiredArgs::All); } +const CGFunctionInfo & +CodeGenTypes::arrangeSYCLKernelCallerDeclaration(QualType resultType, + const FunctionArgList &args) { + auto argTypes = getArgTypesForDeclaration(Context, args); ---------------- erichkeane wrote:
Huh, quite a few of ones that don't meet our coding standard. Also, curious if `getArgTypesForDeclaration` qualifies for RVO, or if this causes an additional unnecessary copy (vs `const &`) since these are taken by `ArrayRef` in `arrangeLLVMFunctionInfo`. https://github.com/llvm/llvm-project/pull/133030 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits