[clang] [SYCL] Basic code generation for SYCL kernel caller offload entry point functions. (PR #133030)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 14 11:54:44 PDT 2025


================
@@ -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:

Aaron's interpretation of that for `auto` is "if the name of the type is on the RHS of the equals" (such as in casts/etc).  So I don't think the type of `argTypes` is there, unless I'm missing it?

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


More information about the cfe-commits mailing list