summaryrefslogtreecommitdiff
path: root/docs/HowToSetUpLLVMStyleRTTI.rst
Commit message (Collapse)AuthorAge
* docs: Update example to conform to coding standards.Sean Silva2012-10-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165782 91177308-0d34-0410-b5e6-96231b3b80d8
* docs: Improve HowToSetUpLLVMStyleRTTI.Sean Silva2012-10-11
| | | | | | | | | | * Fix confusing explanation regarding abstract classes. * Clarify auto-upcasting and why `Shape` doesn't need a `classof()`. * Add section `Rules of Thumb` with some quick summary tips. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165768 91177308-0d34-0410-b5e6-96231b3b80d8
* docs: Update HowToSetUpLLVMStyleRTTI.Sean Silva2012-10-11
| | | | | | | | | | | Recent changes to isa<>/dyn_cast<> have made unnecessary those classof() of the form: static bool classof(const Foo *) { return true; } Accordingly, remove mention of such classof() from the documentation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165766 91177308-0d34-0410-b5e6-96231b3b80d8
* HowToSetUpLLVMStyleRTTI.rst: remove unneeded semicolons in code examples.Dmitri Gribenko2012-10-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165335 91177308-0d34-0410-b5e6-96231b3b80d8
* docs: Add HowToSetUpLLVMStyleRTTI.rst.Sean Silva2012-10-05
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