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

Francois Pichet pichet2000 at gmail.com
Mon Jul 26 19:15:05 PDT 2010


yes sorry

On Mon, Jul 26, 2010 at 10:11 PM, Michael Spencer <bigcheesegs at gmail.com> wrote:
> 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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: push_macro.patch
Type: application/octet-stream
Size: 10126 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100726/55f880ca/attachment.obj>


More information about the cfe-dev mailing list