Skip to content

Commit

Permalink
fix RST reference in Writing an LLVM Pass
Browse files Browse the repository at this point in the history
Currently, instead of showing up as link, it is rendered as

  ...of FunctionPass <writing-an-llvm-pass-FunctionPass>. The...

PR17733. Patch by Tay Ray Chuan!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193698 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
d0k committed Oct 30, 2013
1 parent 75ac8df commit 2b67230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/WritingAnLLVMPass.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2b67230

Please sign in to comment.