Subset of the old Clang Plugin needles

Most needles from current clang plugin minus some of the inheritance needles.
Any reason to do this here, eagerly, rather than in the refs_by_line() method?