summaryrefslogtreecommitdiff
path: root/docs/AliasAnalysis.rst
diff options
context:
space:
mode:
authorSean Silva <chisophugis@gmail.com>2014-04-08 21:06:22 +0000
committerSean Silva <chisophugis@gmail.com>2014-04-08 21:06:22 +0000
commit0a50cec3cb9c2b442e0671212c941b36eda870e3 (patch)
treec63bdae960183ad8bb50e98fc15944651cccceb6 /docs/AliasAnalysis.rst
parentc6a7502a803ceca5d18801a7598d303f7f5bfa0f (diff)
downloadllvm-0a50cec3cb9c2b442e0671212c941b36eda870e3.tar.gz
llvm-0a50cec3cb9c2b442e0671212c941b36eda870e3.tar.bz2
llvm-0a50cec3cb9c2b442e0671212c941b36eda870e3.tar.xz
[docs] Fix up some links to the preferred style.
:doc:`...` and :ref:`...` links help Sphinx keep track the dependencies between documents and ensure that they are not pointing to nowhere. Raw HTML links work just fine and are easier for people less familiar with reST/Sphinx. They are easy to change over to the :doc:/:ref: style after the fact so this is not a problem. This commit doesn't fix all of them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205792 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/AliasAnalysis.rst')
-rw-r--r--docs/AliasAnalysis.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/AliasAnalysis.rst b/docs/AliasAnalysis.rst
index 712d57d14b..3bfb0953af 100644
--- a/docs/AliasAnalysis.rst
+++ b/docs/AliasAnalysis.rst
@@ -51,7 +51,7 @@ starting address and size, and function calls are represented as the actual
get mod/ref information for arbitrary instructions.
All ``AliasAnalysis`` interfaces require that in queries involving multiple
-values, values which are not `constants <LangRef.html#constants>`_ are all
+values, values which are not :ref:`constants <constants>` are all
defined within the same function.
Representation of Pointers
@@ -111,7 +111,7 @@ returns MustAlias, PartialAlias, MayAlias, or NoAlias as appropriate.
Like all ``AliasAnalysis`` interfaces, the ``alias`` method requires that either
the two pointer values be defined within the same function, or at least one of
-the values is a `constant <LangRef.html#constants>`_.
+the values is a :ref:`constant <constants>`.
.. _Must, May, or No:
@@ -126,7 +126,7 @@ used for reading memory. Another is when the memory is freed and reallocated
between accesses through one pointer and accesses through the other --- in this
case, there is a dependence, but it's mediated by the free and reallocation.
-As an exception to this is with the `noalias <LangRef.html#noalias>`_ keyword;
+As an exception to this is with the :ref:`noalias <noalias>` keyword;
the "irrelevant" dependencies are ignored.
The ``MayAlias`` response is used whenever the two pointers might refer to the