[cfe-dev] Forking Clang

Eli Friedman eli.friedman at gmail.com
Fri Sep 12 19:11:02 PDT 2008


On Fri, Sep 12, 2008 at 2:50 PM, Martin Doucha <next_ghost at quick.cz> wrote:
> The goal of my project is to create a tool which would allow using C99
> as the first programming language for complete beginners and force them
> to adopt some coding style in the process, mostly by nagging them about
> anything that even remotely looks like beginner mistake.

Have you considered writing this as an ASTConsumer?  ASTConsumers are
easy to put in as extensions, and you can access most interesting
properties of the source without messing with normal parsing and
semantic analysis.

-Eli



More information about the cfe-dev mailing list