================
@@ -690,6 +753,8 @@ StmtResult SemaSYCL::BuildSYCLKernelCallStmt(FunctionDecl
*FD,
getASTContext().getSYCLKernelInfo(SKEPAttr->getKernelName());
assert(declaresSameEntity(SKI.getKernelEntryPointDecl(), FD) &&
"SYCL kernel name conflict");
+ if (verifyKernelArguments(FD, *this))
+ return StmtError();
----------------
tahonermann wrote:
Hmm, that's weird; `KT<1>` is neither type dependent nor instantiation
dependent. I guess it is possible that its definition hasn't been instantiated
yet. Ok, we can revisit this later if needed.
https://github.com/llvm/llvm-project/pull/192957
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits