[clang] [clang][SYCL] Implement address space attributes for SYCL (PR #200849)

via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 11 04:28:26 PDT 2026


================
@@ -13537,6 +13537,9 @@ def err_sycl_special_type_num_init_method : Error<
   "method defined">;
 def err_sycl_device_invalid_target : Error<
   "%0 is not a supported SYCL device target">;
+def err_sycl_address_space_qualified_object : Error<
+  "'%0' attribute may only be applied to the object type of an object pointer "
----------------
elizabethandrews wrote:

I modified the diagnostic as suggested. @erichkeane please let me know if the new diagnostic works for you. Thank you!

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


More information about the cfe-commits mailing list