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

Richard Smith richard at metafoo.co.uk
Fri May 24 21:23:32 PDT 2013


On Fri, May 24, 2013 at 9:04 PM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> > I'm not a fan of the +1 / -1s which have appeared everywhere. Can you
> > encapsulate these somehow?
>
> Sure, new patch attached.


Thanks! Maybe also call setCachedLinkage in ASTDeclReader? Otherwise, this
looks fine.

It might be worth documenting (maybe on minLinkage) that we view linkage as
being a pair (formal linkage, externally visible), and minLinkage
effectively computes the minimum on each axis independently.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130524/89ad87f8/attachment.html>


More information about the cfe-commits mailing list