Patch for Friend function linkage check (PR 15841)

Rafael EspĂ­ndola rafael.espindola at gmail.com
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
need?

> John.

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


More information about the cfe-commits mailing list