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

Tom Honermann via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 16 09:50:31 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);
----------------
tahonermann wrote:

The rebase lost the context for this conversation thread, so it is no longer found on the "Files changed" tab; it can still be found in the "Conversation" tab though.

This use of `auto` has now been replaced with `CanQualTypeList` and consistent style with surrounding code is retained (due to the rebase on top of the changes for #135861). Resolving this conversation.

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


More information about the cfe-commits mailing list