summaryrefslogtreecommitdiff
path: root/docs/programming.rst
diff options
context:
space:
mode:
authorSean Silva <silvas@purdue.edu>2012-10-05 03:32:01 +0000
committerSean Silva <silvas@purdue.edu>2012-10-05 03:32:01 +0000
commit36be1aeac7eba52b5458b0eed696b221d2ee86ff (patch)
tree9740784e1d91cf6dc8635c0be739040a4116a292 /docs/programming.rst
parent63554988a94b8a4bcf3de77659a0b27c07a0975d (diff)
downloadllvm-36be1aeac7eba52b5458b0eed696b221d2ee86ff.tar.gz
llvm-36be1aeac7eba52b5458b0eed696b221d2ee86ff.tar.bz2
llvm-36be1aeac7eba52b5458b0eed696b221d2ee86ff.tar.xz
docs: Add HowToSetUpLLVMStyleRTTI.rst.
This document describes how to set up LLVM-style RTTI for a class hierarchy. Surprisingly, this was not previously documented. Also, link it into ProgrammersManual.html. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165293 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/programming.rst')
-rw-r--r--docs/programming.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/programming.rst b/docs/programming.rst
index 5d000cb3c2..fe2604fbb7 100644
--- a/docs/programming.rst
+++ b/docs/programming.rst
@@ -9,6 +9,7 @@ Programming Documentation
CodingStandards
CommandLine
Atomics
+ HowToSetUpLLVMStyleRTTI
* `LLVM Language Reference Manual <LangRef.html>`_
@@ -33,6 +34,11 @@ Programming Documentation
Details the LLVM coding standards and provides useful information on writing
efficient C++ code.
+* :doc:`HowToSetUpLLVMStyleRTTI`
+
+ How to make ``isa<>``, ``dyn_cast<>``, etc. available for clients of your
+ class hierarchy.
+
* `Extending LLVM <ExtendingLLVM.html>`_
Look here to see how to add instructions and intrinsics to LLVM.