From: Sean Silva Date: Sat, 17 Nov 2012 21:01:44 +0000 (+0000) Subject: docs: Add link to HowToSetUpLLVMStyleRTTI X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=107aa1c219f552c0f520925f1b0bc64c0412ee90;p=oota-llvm.git docs: Add link to HowToSetUpLLVMStyleRTTI git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168271 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/CodingStandards.rst b/docs/CodingStandards.rst index 90835307b15..c89a30d8eeb 100644 --- a/docs/CodingStandards.rst +++ b/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<> `_. -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 `. It is also substantially more efficient than ``dynamic_cast<>``. .. _static constructor: