Skip to content

Commit 977f4fa

Browse files
committed
Update sycl_kernel_entry_point attribute documentation to include the non-deduced void return type requirement.
1 parent 1a0898f commit 977f4fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/Basic/AttrDocs.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ not first appear on a declaration that follows a definition of the function.
475475
The attribute only appertains to functions and only those that meet the
476476
following requirements.
477477

478-
* Has a ``void`` return type.
478+
* Has a non-deduced ``void`` return type.
479479
* Is not a non-static member function, constructor, or destructor.
480480
* Is not a C variadic function.
481481
* Is not a coroutine.

0 commit comments

Comments
 (0)