[llvm-bugs] [Bug 28490] clang accepts illegal C++ code with ambiguous member lookup

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Aug 27 06:22:18 PDT 2017


Faisal Vali <faisalv at yahoo.com> changed:

           What    |Removed                     |Added
         Resolution|---                         |INVALID
                 CC|                            |faisalv at yahoo.com
             Status|NEW                         |RESOLVED

--- Comment #1 from Faisal Vali <faisalv at yahoo.com> ---
This does not appear to be a bug.  Dependent base classes are not examined
during unqualified name lookup either at the point of definition or during
instantiation - see [temp.dep] p3.

Also see discussion by Johannes Schaub here for additional context:
 -  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43282

Let us know if you still think this code should be accepted based on some
standardese we have not considered.

thanks for the report!

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170827/b127e629/attachment.html>

More information about the llvm-bugs mailing list