[cfe-dev] Clang comparison page

Chris Lattner clattner at apple.com
Tue Dec 11 00:00:21 PST 2007

On Dec 10, 2007, at 9:11 PM, Taras Glek wrote:
>> From your blog, my understanding is that the preprocessor really  
>> isn't integrated: it emits a .i file and a log of expansion  
>> information (embedded into the source as comments?) which is then  
>> parsed by Elsa.  This is right?
> Yes, MCPP embeds a macro expansion log into comments. I chose the  
> "loose" integration in hopes that any projects that need to undo the  
> preprocessor can reuse this instead of writing a preprocessor from  
> scratch. Additionally, having annotated macro expansion is handy for  
> debugging anything to do with macro expansions.

Yeah, but the (compile-time) performance must be terrible :)

> Your summary works for me.

Done, thanks!


More information about the cfe-dev mailing list