[cfe-commits] [PATCH] Ignored calling conventions

Aaron Ballman aaron at aaronballman.com
Thu Sep 6 18:59:13 PDT 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: callconv.patch
Type: application/octet-stream
Size: 4027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120906/5d92076a/attachment.obj>


More information about the cfe-commits mailing list