summaryrefslogtreecommitdiffstats
path: root/llvm/docs/HowToSetUpLLVMStyleRTTI.rst
Commit message (Collapse)AuthorAgeFilesLines
* docs: Update example to conform to coding standards.Sean Silva2012-10-121-19/+19
| | | | llvm-svn: 165782
* docs: Improve HowToSetUpLLVMStyleRTTI.Sean Silva2012-10-111-26/+59
| | | | | | | | | | * 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. llvm-svn: 165768
* docs: Update HowToSetUpLLVMStyleRTTI.Sean Silva2012-10-111-21/+39
| | | | | | | | | | | 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. llvm-svn: 165766
* HowToSetUpLLVMStyleRTTI.rst: remove unneeded semicolons in code examples.Dmitri Gribenko2012-10-051-5/+5
| | | | llvm-svn: 165335
* docs: Add HowToSetUpLLVMStyleRTTI.rst.Sean Silva2012-10-051-0/+281
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. llvm-svn: 165293
OpenPOWER on IntegriCloud