That would be difficult. You need the ability to be able to recover from errors.
Moreover, you need to be able to redefine things. For example, suppose you defined a type or a function and changed your mind and later decided to redefine them.
I doubt the Clang front-end is designed with this sort of thing in mind.