Reid and Mats, Thanks for the feedback. Shame it isn't easier - I would have thought it a common use case for e.g. people hacking on the just the front-end parts of clang (I'm working with libclang, and AFAICT I shouldn't need to delve into the LLVM layer at any point for e.g. just parsing code). Regards, Vinay Sajip