[cfe-dev] AST for preprocessor directives
tarasevich.andrey at googlemail.com
Mon Feb 7 09:39:32 PST 2011
At the moment I'm doing some source-to-source manipulations with clang. I
using the RewriteObjC.cpp as an example of such manipulations, but as far as
I understand the AST is not produced for the preprocessor directives, like
for instance - #define value 1
Is the manual parsing the only way to deal with preprocessor directives or
there is a way to translate them into AST?
Also where I can get list of all DeclNodes for the C language? Are they
mixed with Objective-C and C++ in DeclNodes.inc?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev