<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:seth.cantrell@gmail.com" title="Seth <seth.cantrell@gmail.com>"> <span class="fn">Seth</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - diagnostic for referring to nested class before that type is complete refers to wrong type"
href="http://llvm.org/bugs/show_bug.cgi?id=11399">bug 11399</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>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - diagnostic for referring to nested class before that type is complete refers to wrong type"
href="http://llvm.org/bugs/show_bug.cgi?id=11399#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - diagnostic for referring to nested class before that type is complete refers to wrong type"
href="http://llvm.org/bugs/show_bug.cgi?id=11399">bug 11399</a>
from <span class="vcard"><a class="email" href="mailto:seth.cantrell@gmail.com" title="Seth <seth.cantrell@gmail.com>"> <span class="fn">Seth</span></a>
</span></b>
<pre>I don't know when this was fixed but it is as of
e103979ceac63c98873f3307ee897eab559356a0, or r185264
clang's output is now:
---
main.cpp:2:6: error: unknown type name 'Bar'
Foo(Bar const &);
^
main.cpp:2:10: error: expected ')'
Foo(Bar const &);
^
main.cpp:2:5: note: to match this '('
Foo(Bar const &);
^
2 errors generated.
---
Although I notice that without the const the extraneous "error: expected ')'"
also disappears:
---
main.cpp:2:6: error: unknown type name 'Bar'
Foo(Bar &);
^
1 error generated.</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>