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)
commitd7802ad8a5fa05a386597a09c32543804e4c8edd
tree7d2d5101bb699f873c41c1b758f6dcd3f571b40c
parent506a1c5a58eab8a169a157dc8d3caef7f08b6cfc
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.

llvm-svn: 165768
llvm/docs/HowToSetUpLLVMStyleRTTI.rst