[cfe-commits] [PATCH] PR12299: Fix overload resolution for extern C

Joey Gouly joey.gouly at arm.com
Mon Dec 10 04:48:57 PST 2012


Sorry, I attached an older version, this is the latest with an updated test
case.

Thanks,
Joey

-----Original Message-----
From: cfe-commits-bounces at cs.uiuc.edu
[mailto:cfe-commits-bounces at cs.uiuc.edu] On Behalf Of Joey Gouly
Sent: 10 December 2012 11:53
To: cfe-commits at cs.uiuc.edu; richard at metafoo.co.uk
Subject: [cfe-commits] [PATCH] PR12299: Fix overload resolution for extern C

Hi Richard et al,

This patch fixes PR12299, by allowing MergeFunctionDecl to merge functions
marked with extern "C".
This is from 7.3.4.6 and 7.3.5 from the n3337 standard.

Does this look like a reasonable fix?

Thanks,
Joey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sema_overload.diff
Type: application/octet-stream
Size: 2959 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121210/86636cb9/attachment.obj>


More information about the cfe-commits mailing list