majnemer added inline comments. ================ Comment at: lib/Parse/ParseDeclCXX.cpp:1107 @@ +1106,3 @@ + // Microsoft compatibility + case tok::kw___cdecl: // struct foo {...} __cdecl x; // C4229 + if (!getLangOpts().MicrosoftExt) ---------------- sberg wrote: > majnemer wrote: > > What about __fastcall, etc. > To be honest, I have no idea what the full set of keywords is that would need > to be taken care of here (so hoped I would get away with just the one I > happened to come across ;) The complete list is https://msdn.microsoft.com/en-us/library/984x0h58.aspx#mainBody
http://reviews.llvm.org/D16628 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits