[llvm] r193698 - fix RST reference in Writing an LLVM Pass

Benjamin Kramer benny.kra at googlemail.com
Wed Oct 30 10:09:33 PDT 2013


Author: d0k
Date: Wed Oct 30 12:09:32 2013
New Revision: 193698

URL: http://llvm.org/viewvc/llvm-project?rev=193698&view=rev
Log:
fix RST reference in Writing an LLVM Pass

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!

Modified:
    llvm/trunk/docs/WritingAnLLVMPass.rst

Modified: llvm/trunk/docs/WritingAnLLVMPass.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/WritingAnLLVMPass.rst?rev=193698&r1=193697&r2=193698&view=diff
==============================================================================
--- llvm/trunk/docs/WritingAnLLVMPass.rst (original)
+++ llvm/trunk/docs/WritingAnLLVMPass.rst Wed Oct 30 12:09:32 2013
@@ -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.





More information about the llvm-commits mailing list