[cfe-commits] [PATCH][Borland] - enable some MS keywords which are shared with Borland extensions

Douglas Gregor dgregor at apple.com
Wed Sep 8 14:31:48 PDT 2010


On Sep 8, 2010, at 2:21 PM, Francois Pichet wrote:

> Hi .. Are you planning to actually implement Microsoft extensions?
> If so that's great but we should make sure not to duplicate work
> 
> 
> Here is the tasks on my list:
> 
> 2. clang must parse this: (superfluous A::)
>    class A {
>        int A::f() { return 0; }
>     };

This would be a great ExtWarn + Fix-it, since it's a common mistake.

> 
> 3. microsoft enum support:
> -clang must parse this:
>    enum FOO {
>         a = (FOO) 3
>     };
> - forward enum must have an underlying type. (int)
> - support enum FOO : int {};

This last bit is C++0x syntax, FWIW.

	- Doug



More information about the cfe-commits mailing list