Aaron,

I think it might be applicable not only in ms-mode, but also in whole
Windows x64, including mingw-w64.

ps. it is discussed in PR13782.
http://llvm.org/bugs/show_bug.cgi?id=13782

...Takumi

2012/9/7 Aaron Ballman <[email protected]>:
> Based on a conversation with Richard in IRC, this really does have to
> be modeled in Sema due to the way MSVC handles redeclarations. It
> truly does treat it as __cdecl even though it's not.
>
> The attached patch changes the calling convention while performing
> semantic analysis, and adds several test cases.
>
> ~Aaron
>
> _______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to