[clang] [clang][SYCL] Add sycl_external attribute and restrict emitting device code (PR #140282)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 25 09:35:27 PDT 2025
================
@@ -1641,6 +1641,13 @@ def DeviceKernel : DeclOrTypeAttr {
}];
}
+def SYCLExternal : InheritableAttr {
+ let Spellings = [Clang<"sycl_external">];
----------------
schittir wrote:
Separate PR it is!
I'll follow this spelling: `let Spellings = [CXX11<"clang", "sycl_external">];`
https://github.com/llvm/llvm-project/pull/140282
More information about the cfe-commits
mailing list