================
@@ -382,7 +382,8 @@ interface of a function, and should thus be placed on the
function definition
`RETURN_CAPABILITY` is an attribute on functions or methods, which declares
that the function returns a reference to the given capability. It is used to
-annotate getter methods that return mutexes.
+annotate getter methods that return mutexes. It can also be applied to a
+function pointer (see {ref}`function-pointers`).
----------------
aaronpuchert wrote:
The other attributes also don't link to that section, so I don't think we need
it.
https://github.com/llvm/llvm-project/pull/226561
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits