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
callconv.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
