Any way to disable typechecking while creating, parse-tree for libtooling

It could be useful for doing a post mortem to see what fragment of the AST existed before the compile failed. Typically the code is good up to a point, and that point is interesting.

-cc1 -ast-dump should print you the built ast up to the point of error, or are you talking about something else?