[llvm] 5864cb3 - [docs] Fix broken links in Kaleidoscope chapter 3

Brian Gesiak via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 17 18:37:22 PST 2019


Author: Brian Gesiak
Date: 2019-11-17T21:35:02-05:00
New Revision: 5864cb38da701793171c8a8a69ae5410af08e181

URL: https://github.com/llvm/llvm-project/commit/5864cb38da701793171c8a8a69ae5410af08e181
DIFF: https://github.com/llvm/llvm-project/commit/5864cb38da701793171c8a8a69ae5410af08e181.diff

LOG: [docs] Fix broken links in Kaleidoscope chapter 3

Several links in this document referred to `LangImpl4.html` or
`LangImpl7.html`. However, now these pages use two digits, so for these
links to function they need to be modified to `LangImpl04.html`, and so
on -- note the extra `0`.

Added: 
    

Modified: 
    llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.rst b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.rst
index 25cae13415c2..50e8c44bfc1c 100644
--- a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.rst
+++ b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.rst
@@ -150,8 +150,8 @@ values that can be in the ``NamedValues`` map are function arguments.
 This code simply checks to see that the specified name is in the map (if
 not, an unknown variable is being referenced) and returns the value for
 it. In future chapters, we'll add support for `loop induction
-variables <LangImpl5.html#for-loop-expression>`_ in the symbol table, and for `local
-variables <LangImpl7.html#user-defined-local-variables>`_.
+variables <LangImpl05.html#for-loop-expression>`_ in the symbol table, and for `local
+variables <LangImpl07.html#user-defined-local-variables>`_.
 
 .. code-block:: c++
 
@@ -436,10 +436,10 @@ at the LLVM IR for simple functions. For example:
 
 Note how the parser turns the top-level expression into anonymous
 functions for us. This will be handy when we add `JIT
-support <LangImpl4.html#adding-a-jit-compiler>`_ in the next chapter. Also note that the
+support <LangImpl04.html#adding-a-jit-compiler>`_ in the next chapter. Also note that the
 code is very literally transcribed, no optimizations are being performed
 except simple constant folding done by IRBuilder. We will `add
-optimizations <LangImpl4.html#trivial-constant-folding>`_ explicitly in the next
+optimizations <LangImpl04.html#trivial-constant-folding>`_ explicitly in the next
 chapter.
 
 ::


        


More information about the llvm-commits mailing list