[cfe-dev] Clang and Preprocessor Directives
Chris Lattner
clattner at apple.com
Sun Apr 20 18:25:41 PDT 2008
On Apr 20, 2008, at 6:16 PM, pingu219 at gmail.com wrote:
> Hi I was just wondering if Clang is able to not strip out the
> preprocessor directives, comments etc but to evaluate them along
> with the rest of syntactic C code into an AST data structure to
> perform refactorings on. Links to examples would be very greatly
> appreciated. Thanks!
clang includes a full preprocessor and parser. Can you give an
example of what you specifically want?
-Chris
More information about the cfe-dev
mailing list