[clang] [SYCL] Basic diagnostics for the sycl_kernel_entry_point attribute. (PR #120327)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 18 06:57:52 PST 2024


================
@@ -1550,6 +1550,8 @@ NamedDecl *Sema::ActOnNonTypeTemplateParameter(Scope *S, Declarator &D,
     IdResolver.AddDecl(Param);
   }
 
+  ProcessDeclAttributes(S, Param, D);
----------------
erichkeane wrote:

Hmm... this seems like a concerning addition.  I think I want @AaronBallman  to take a look at this, this has implications on appertainment/etc that I don't terribly understand, so I thought this is something we only do in places the standard suggests.

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


More information about the cfe-commits mailing list