<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:richard-llvm@metafoo.co.uk" title="Richard Smith <richard-llvm@metafoo.co.uk>"> <span class="fn">Richard Smith</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - clang makes nested-namespace incorrectly"
href="http://llvm.org/bugs/show_bug.cgi?id=15243">bug 15243</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>INVALID
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - clang makes nested-namespace incorrectly"
href="http://llvm.org/bugs/show_bug.cgi?id=15243#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - clang makes nested-namespace incorrectly"
href="http://llvm.org/bugs/show_bug.cgi?id=15243">bug 15243</a>
from <span class="vcard"><a class="email" href="mailto:richard-llvm@metafoo.co.uk" title="Richard Smith <richard-llvm@metafoo.co.uk>"> <span class="fn">Richard Smith</span></a>
</span></b>
<pre>Looks like GCC implements the resolution of core issue 1310, under which this
is ill-formed.
For some lookups, this rule applies:
C++ [class]p2: "A class-name is inserted into the scope in which it is declared
immediately after the class-name is seen. The class-name is also inserted into
the scope of the class itself; this is known as the injected-class-name."
However, under core issue 1310, this only applies in the rarer case of a lookup
which ignores function names. So the 'CFoo::CFoo::' finds the
injected-class-name, but the final '::CFoo' is a constructor name.</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>