[PATCH] fix RST reference in Writing an LLVM Pass
Sean Silva
silvas at purdue.edu
Thu Oct 24 16:45:30 PDT 2013
This LGTM. Please resend this with the patch as an attachment (so it is
easier to apply), as per <
http://llvm.org/docs/DeveloperPolicy.html#making-a-patch>.
-- Sean Silva
On Mon, Oct 21, 2013 at 10:20 PM, Tay Ray Chuan <rctay89 at gmail.com> wrote:
> Currently, instead of showing up as link, it is rendered as
>
> ...of FunctionPass <writing-an-llvm-pass-FunctionPass>. The...
>
> This patch fixes this.
> ---
> docs/WritingAnLLVMPass.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/docs/WritingAnLLVMPass.rst b/docs/WritingAnLLVMPass.rst
> index 1114fa0..f9cb4fe 100644
> --- a/docs/WritingAnLLVMPass.rst
> +++ b/docs/WritingAnLLVMPass.rst
> @@ -131,7 +131,7 @@ Next, we declare our pass itself:
>
> struct Hello : public FunctionPass {
>
> -This declares a "``Hello``" class that is a subclass of `FunctionPass
> +This declares a "``Hello``" class that is a subclass of :ref:`FunctionPass
> <writing-an-llvm-pass-FunctionPass>`. The different builtin pass
> subclasses
> are described in detail :ref:`later <writing-an-llvm-pass-pass-classes>`,
> but
> for now, know that ``FunctionPass`` operates on a function at a time.
> --
> 1.8.4.652.g0d6e0ce
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131024/8a95a752/attachment.html>
More information about the llvm-commits
mailing list