[cfe-commits] [PATCH][MS][Review request] - microsoft enum complete at tag

Francois Pichet pichet2000 at gmail.com
Sun Sep 26 20:38:51 PDT 2010


Hi,

This patch makes an enum type complete at tag declaration in Microsoft mode.
The underlying type is always int.

It allows code like this:
enum TEST {
    a = (TEST) 1
};

enum TEST2;
TEST2 var;

This patch get rid of about 100 errors when parsing msvc header files.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enum_complete_type_tag.patch
Type: application/octet-stream
Size: 2405 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100926/bd2b2e2d/attachment.obj>


More information about the cfe-commits mailing list