Patch for Friend function linkage check (PR 15841)

Rafael EspĂ­ndola rafael.espindola at
Thu Apr 25 07:30:09 PDT 2013

> Linkage specifications don't actually have members under the standard.
> Instead, they just set the language linkage of any non-class-member name
> declared therein that has external linkage.  That would seem to apply to
> a friend declaration.

I see, it is just a difference on how the standard is written and how
clang is implemented. Is something like the attached patch what we

> John.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 951 bytes
Desc: not available
URL: <>

More information about the cfe-commits mailing list