https://llvm.org/bugs/show_bug.cgi?id=27742

Charles Li <charles...@playstation.sony.com> changed:

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

--- Comment #2 from Charles Li <charles...@playstation.sony.com> ---
(In reply to comment #1)
> This is actually correct; C++98 and C++11 have different rules here.
> 
> In C++98, the rule is that a declaration named by a using-declaration has to
> resolve to a member of a base class, so we first look up what C::bar means,
> and then diagnose because it's a member of our own class, C.
> 
> In C++11, the rule is that the nested-name-specifier ("C::") must name a
> base class, so in that case we reject it without ever looking up what
> "C::bar" might name.

Thank you. 

I will Resolve this bug as Invalid.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to