Added a little bit of logging to ClangFunction to
make it more obvious what's going on.