Subset of the old Clang Plugin needles

Most needles from current clang plugin minus some of the inheritance needles.
Maybe I'm just being dense, but I can't understand what a top-level refs() function has to do with TreeConfigs being crappy. Can you elaborate?