summaryrefslogtreecommitdiff
path: root/docs/CodingStandards.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/CodingStandards.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/CodingStandards.rst')
-rw-r--r--docs/CodingStandards.rst7
1 files changed, 2 insertions, 5 deletions
diff --git a/docs/CodingStandards.rst b/docs/CodingStandards.rst
index 2ebdfbc91b..529464aa28 100644
--- a/docs/CodingStandards.rst
+++ b/docs/CodingStandards.rst
@@ -76,10 +76,7 @@ implemented in the LLVM namespace following the expected standard interface.
There are some exceptions such as the standard I/O streams library which are
avoided. Also, there is much more detailed information on these subjects in the
-`Programmer's Manual`_.
-
-.. _Programmer's Manual:
- http://llvm.org/docs/ProgrammersManual.html
+:doc:`ProgrammersManual`.
Supported C++11 Language and Library Features
---------------------------------------------
@@ -605,7 +602,7 @@ is never used for a class. Because of this, we turn them off globally in the
code.
That said, LLVM does make extensive use of a hand-rolled form of RTTI that use
-templates like `isa<>, cast<>, and dyn_cast<> <ProgrammersManual.html#isa>`_.
+templates like :ref:`isa\<>, cast\<>, and dyn_cast\<> <isa>`.
This form of RTTI is opt-in and can be
:doc:`added to any class <HowToSetUpLLVMStyleRTTI>`. It is also
substantially more efficient than ``dynamic_cast<>``.