Using clang's parse to do the right things.