diff options
author | Brian Gesiak <modocache@gmail.com> | 2019-11-17 21:35:02 -0500 |
---|---|---|
committer | Brian Gesiak <modocache@gmail.com> | 2019-11-17 21:35:02 -0500 |
commit | 5864cb38da701793171c8a8a69ae5410af08e181 (patch) | |
tree | 7d6ba1cf013b0435daf0b7e0aeae3e6495bab06b /llvm/docs/tutorial | |
parent | a937a588dd29fa77018561e2eab5dc760c766229 (diff) | |
download | llvm-5864cb38da701793171c8a8a69ae5410af08e181.zip llvm-5864cb38da701793171c8a8a69ae5410af08e181.tar.gz llvm-5864cb38da701793171c8a8a69ae5410af08e181.tar.bz2 |
[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`.
Diffstat (limited to 'llvm/docs/tutorial')
-rw-r--r-- | llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.rst b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.rst index 25cae13..50e8c44 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. :: |