docs: Improve HowToSetUpLLVMStyleRTTI.
authorSean Silva <silvas@purdue.edu>
Thu, 11 Oct 2012 23:30:52 +0000 (23:30 +0000)
committerSean Silva <silvas@purdue.edu>
Thu, 11 Oct 2012 23:30:52 +0000 (23:30 +0000)
commit40573998821fde7ffeabe8507f4c9e8c7cf762f6
tree377b4b1f905c5a074ccbe985f227811a5f89d0ff
parented84062812c7b8a82d0e8128a22aa1aa07a14d79
docs: Improve HowToSetUpLLVMStyleRTTI.

* 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/HowToSetUpLLVMStyleRTTI.rst