Change the parser to accept an optional AST consumer.
Add -dump-ast command to the `cplusplus' frontend executable.