[PATCH] PR17337 - Retain previous linkage of friend function declarations
richard at metafoo.co.uk
Tue Sep 24 06:43:07 PDT 2013
On Tue, Sep 24, 2013 at 3:00 AM, Alp Toker <alp at nuanti.com> wrote:
> The previous language linkage needs to be retained as described in
> [class.friend]p3 otherwise valid friend redeclarations differing only in
> lexical linkage are rejected.
[class.friend]p3 says the previous linkage (internal/external/no linkage)
is retained, not the previous language linkage. Our current behavior
appears to be correct here.
> Fixes PR17337.
> the browser experts
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits