[clang] [clang][SYCL] Add SYCL spelling for AS attributes (PR #200849)

Tom Honermann via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 23 08:13:52 PDT 2026


================
@@ -873,6 +873,27 @@ expression.
   }];
 }
 
+def SYCLAddressSpaceDocs : Documentation {
+  let Category = DocCatType;
+  let Heading = "Address space attributes for SYCL";
----------------
tahonermann wrote:

A shorter more declarative syntax exists for this:

```suggestion
def SYCLAddressSpaceDocs : DocumentationCategory<"SYCL Address Spaces"> {
```

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


More information about the cfe-commits mailing list