[cfe-dev] AST for preprocessor directives
Andrey Tarasevich
tarasevich.andrey at googlemail.com
Mon Feb 7 09:39:32 PST 2011
Hello!
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?
Thanks,
Andrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110207/fc9e3b0f/attachment.html>
More information about the cfe-dev
mailing list