Clang and Preprocessor Directives

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

<cc’ing cfe-dev>