projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d91d21c
)
docs: Add link to HowToSetUpLLVMStyleRTTI
author
Sean Silva
<silvas@purdue.edu>
Sat, 17 Nov 2012 21:01:44 +0000
(21:01 +0000)
committer
Sean Silva
<silvas@purdue.edu>
Sat, 17 Nov 2012 21:01:44 +0000
(21:01 +0000)
llvm-svn: 168271
llvm/docs/CodingStandards.rst
patch
|
blob
|
history
diff --git
a/llvm/docs/CodingStandards.rst
b/llvm/docs/CodingStandards.rst
index
9083530
..
c89a30d
100644
(file)
--- a/
llvm/docs/CodingStandards.rst
+++ b/
llvm/docs/CodingStandards.rst
@@
-409,7
+409,8
@@
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>`_.
-This form of RTTI is opt-in and can be added to any class. It is also
+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<>``.
.. _static constructor: