[llvm-bugs] [Bug 25995] New: Unqualified lookup into dependent bases of class templates fails if class exists with the same name
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Jan 2 00:32:19 PST 2016
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: unassignedclangbugs at nondot.org
Reporter: jvapen at gmail.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160102/7ed638d4/attachment-0001.html>
More information about the llvm-bugs
mailing list