diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index 2d72e548ec82a..a8dd0dd574ee8 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -1415,7 +1415,7 @@ Currently, only the following parameter attributes are defined: captured in certain locations. Currently only the return value (``ret``) and other (default) locations are supported. - The `pointer capture section ` discusses these semantics + The :ref:`pointer capture section ` discusses these semantics in more detail. Some examples of how to use the attribute: