================
@@ -64,9 +64,38 @@ class SemaSYCL : public SemaBase {
void handleKernelAttr(Decl *D, const ParsedAttr &AL);
void handleKernelEntryPointAttr(Decl *D, const ParsedAttr &AL);
+ /// Issues a deferred diagnostic if use of the declaration designated
+ /// by 'D' is invalid in a device context.
+ void CheckDeviceUseOfDecl(NamedDecl *D, SourceLocation Loc);
----------------
tahonermann wrote:
Yes, thank you, good catch. It looks like I forgot to update the parameter name
when I changed its type at some point. Fixed in commit
be69af78fdd55b4ac9d8cdf8671666b04f6594d5.
https://github.com/llvm/llvm-project/pull/152403
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits