[clang] [SYCL] The sycl_kernel_entry_point attribute. (PR #111389)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 28 08:03:08 PDT 2024


================
@@ -14296,6 +14296,29 @@ void ASTContext::getFunctionFeatureMap(llvm::StringMap<bool> &FeatureMap,
   }
 }
 
+static SYCLKernelInfo BuildSYCLKernelInfo(CanQualType KernelNameType,
----------------
erichkeane wrote:

This function seems a little silly.  Is this because we intend for it to be 'bigger' in the future?  Else `SYCLKernelInfo::Create` would be preferential here (or just call the ctor).

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


More information about the cfe-commits mailing list