diff options
author | Sean Silva <chisophugis@gmail.com> | 2014-04-08 21:06:22 +0000 |
---|---|---|
committer | Sean Silva <chisophugis@gmail.com> | 2014-04-08 21:06:22 +0000 |
commit | 1703e705cfc4ed10879764b3912bb4ddc9a318af (patch) | |
tree | d987b514c83a5ac579689dd42f8901c255ffbcab /llvm/docs/AliasAnalysis.rst | |
parent | c11e8b67bb8c6ff6bd6a5aff58d3e07a73bcf44f (diff) | |
download | bcm5719-llvm-1703e705cfc4ed10879764b3912bb4ddc9a318af.tar.gz bcm5719-llvm-1703e705cfc4ed10879764b3912bb4ddc9a318af.zip |
[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.
llvm-svn: 205792
Diffstat (limited to 'llvm/docs/AliasAnalysis.rst')
-rw-r--r-- | llvm/docs/AliasAnalysis.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/docs/AliasAnalysis.rst b/llvm/docs/AliasAnalysis.rst index 712d57d14b1..3bfb0953aff 100644 --- a/llvm/docs/AliasAnalysis.rst +++ b/llvm/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 |