[clang] [llvm] [clang] Simplify device kernel attributes (PR #137882)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue May 20 09:34:56 PDT 2025


================
@@ -396,9 +396,12 @@ any option of a multiversioned function is undefined.
   }];
 }
 
-def SYCLKernelDocs : Documentation {
+def DeviceKernelDocs : Documentation {
   let Category = DocCatFunction;
+  let Heading = "device_kernel";
----------------
AaronBallman wrote:

We should probably list the other spellings of the attribute to the heading, that helps folks searching for those docs.

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


More information about the cfe-commits mailing list