<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Unqualified lookup into dependent bases of class templates fails if class exists with the same name"
href="https://llvm.org/bugs/show_bug.cgi?id=25995">25995</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Unqualified lookup into dependent bases of class templates fails if class exists with the same name
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jvapen@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=15545" name="attach_15545" title="Reproduction">attachment 15545</a> <a href="attachment.cgi?id=15545&action=edit" title="Reproduction">[details]</a></span>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>