[clang] [clang][SYCL] Add SYCL spelling for AS attributes (PR #200849)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 2 06:18:22 PDT 2026
================
@@ -46,10 +48,13 @@ enum class LangAS : unsigned {
// SYCL specific address spaces.
sycl_global,
+ // TODO: Remove sycl_global_device and sycl_global_host after corresponding attributes
+ // are deprecated for the required time.
sycl_global_device,
sycl_global_host,
sycl_local,
sycl_private,
+ sycl_generic,
----------------
elizabethandrews wrote:
No we had decided not to because it is deprecated in SYCL2020. Would you like me to add it still?
https://github.com/llvm/llvm-project/pull/200849
More information about the cfe-commits
mailing list