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.

Attachment: enum_complete_type_tag.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to