[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 14:18:19 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:
The existence of existing code violating our coding standard (as interpreted by our maintainer) is NOT sufficient justification to ignore it in new code. In fact, our policy is the opposite. It is NOT acceptable to 'make things worse' in this way.
https://github.com/llvm/llvm-project/pull/133030
More information about the cfe-commits
mailing list