[cfe-dev] [PATCH] preprocessor pragma push_macro support

Michael Spencer bigcheesegs at gmail.com
Mon Jul 26 19:11:52 PDT 2010


On Mon, Jul 26, 2010 at 9:53 PM, Michael Spencer <bigcheesegs at gmail.com> wrote:
> On Mon, Jul 26, 2010 at 9:42 PM, Francois Pichet <pichet2000 at gmail.com> wrote:
>> Hi,
>>
>> This patch implements the preprocessor #pragma push_macro/pop_macro
>> functionality (a microsoft extension but also supported by gcc). This
>> is required to make clang handles Windows/VS headers correctly. This
>> is my first contribution to clang and the C/C++ preprocessor is quite
>> complex so please review my patch.
>>
>> My interest is to use clang to do code analysis on Visual Studio vcprojs.
>
> Wow, thanks for implementing this. It was on my list of things to do
> :P. I'll take a look as soon as I can.
>
> - Michael Spencer
>

It looks like some changes are missing from this patch. Mainly the
changes to Preprocessor.cpp

- Michael Spencer



More information about the cfe-dev mailing list