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

            Bug ID: 25995
           Summary: Unqualified lookup into dependent bases of class
                    templates fails if class exists with the same name
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: jva...@gmail.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

Created attachment 15545
  --> https://llvm.org/bugs/attachment.cgi?id=15545&action=edit
Reproduction

Full reproduction in attachment, created with default console application in
visual studio 2013.

The code that works with MSVC, does not compile with clang-cl.
In short, we have a templated class 'Wrapper', a base class which defines
Wrapper as Wrapper and some template arguments and a Derived class which tries
to use this.

If the typedef and usages would be renamed to TWrapper, all compiles.
Though in this case we both have a class called Wrapper and the typedef called
Wrapper, where an other one gets chosen than what MSVC does.

-- 
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