[patch] Fix linkage computation for derived types in inline functions

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu May 23 15:02:08 PDT 2013


> By revised rules you mean the one you proposed, making
>
> InternalLinkage        VisibleNoLinkage       -> NoLinkage
> UniqueExternalLinkage  VisibleNoLinkage       -> NoLinkage
>
> I am OK with it, but I was unable to write any testcase :-(

The attached patch implements your proposed semantics (but keeps the
single bitfield representation, at least for now). Any ideas of a
testcase we could add?

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 13027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130523/1a6ad4ad/attachment.obj>


More information about the cfe-commits mailing list