[LLVMbugs] [Bug 8178] Clang doesn't accept public member reference that is private in derived class

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Sep 18 07:14:17 PDT 2010


John McCall <rjmccall at apple.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |rjmccall at apple.com
         Resolution|                            |INVALID

--- Comment #1 from John McCall <rjmccall at apple.com> 2010-09-18 09:14:16 CDT ---
I don't think this is valid.  The member found is the alias created by the
using declaration, not the member itself, and "the alias created by the
using-declaration has the usual accessibility for a member-declaration"
[namespace.udecl]p15.  So that bullet doesn't apply because the alias isn't
accessible in any base class, because it's not even declared there.

There might be a DR about this, so feel free to re-open if you dispute this
interpretation or have other authority.

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