[cfe-commits] [PATCH] Ignored calling conventions

NAKAMURA Takumi geek4civic at gmail.com
Thu Sep 6 19:07:32 PDT 2012


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 <aaron at aaronballman.com>:
> 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
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>



More information about the cfe-commits mailing list