[cfe-dev] Should we build semantically invalid nodes?

Argiris Kirtzidis akyrtzi at gmail.com
Mon Oct 27 01:09:58 PDT 2008

Argiris Kirtzidis wrote:
> What exactly this module does doesn't affect anything else (since it's 
> a different module altogether) but let's say that the purpose is to 
> identify each identifier used in the program and categorize it based 
> on its kind (which will probably be different for different contexts).
> By kind I mean typename/function/global variable/parameter/local 
> variable/instance field/static field etc.
> With this information an IDE could do syntax coloring taking into 
> account the kind of the identifier.

Oh, I forgot to mention that there can be an actual client for this; 
take the HtmlRewriter and put different colors or annotation to the 


More information about the cfe-dev mailing list