mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
docs: Add link to HowToSetUpLLVMStyleRTTI
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168271 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ab58391a44
commit
107aa1c219
@ -409,7 +409,8 @@ code.
|
|||||||
|
|
||||||
That said, LLVM does make extensive use of a hand-rolled form of RTTI that use
|
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 `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<>``.
|
substantially more efficient than ``dynamic_cast<>``.
|
||||||
|
|
||||||
.. _static constructor:
|
.. _static constructor:
|
||||||
|
Loading…
Reference in New Issue
Block a user