[PATCH] PR13236 - Microsoft compatibility: support __super specifier to access members of base classes

Aaron Ballman aaron.ballman at gmail.com
Mon Jul 14 05:48:08 PDT 2014


On Sun, Jul 13, 2014 at 9:43 PM, Nikola Smiljanić <popizdeh at gmail.com> wrote:
> Thanks for the input guys, I have two questions:
>
> 1. MSDN states "__super can only appear within the body of a member function." and yet msvc accepts it in a number of places (data member declaration, typedef, etc.). Do we wan't to be bug for bug compatible with msvc as I see that as major pain?

I don't think we need to, unless it's easier to be behavior-compatible
for some reason. If there's a need to implement those behaviors (eg,
if some platform header is relying on it, etc), we can do that later.

~Aaron




More information about the cfe-commits mailing list