[LLVMbugs] [Bug 7343] Friend declaration is ignored

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 29 18:33:40 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7343

John McCall <rjmccall at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from John McCall <rjmccall at apple.com> 2010-06-29 20:33:40 CDT ---
The issue is not that the friend declaration is being ignored;  the issue that
is the global context is not (and cannot be made) a friend of Class, and
therefore the reference to Class::Inner in the template argument is ill-formed.
 However, we have decided to support this sort of specialization as an
extension, and it should now work.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list