<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:nlewycky@google.com" title="Nick Lewycky <nlewycky@google.com>"> <span class="fn">Nick Lewycky</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - clang segfaults when parsing illegal c++"
href="http://llvm.org/bugs/show_bug.cgi?id=19968">bug 19968</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;">CC</td>
<td>
</td>
<td>nlewycky@google.com
</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 - clang segfaults when parsing illegal c++"
href="http://llvm.org/bugs/show_bug.cgi?id=19968#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - clang segfaults when parsing illegal c++"
href="http://llvm.org/bugs/show_bug.cgi?id=19968">bug 19968</a>
from <span class="vcard"><a class="email" href="mailto:nlewycky@google.com" title="Nick Lewycky <nlewycky@google.com>"> <span class="fn">Nick Lewycky</span></a>
</span></b>
<pre>I fixed the crash in r210388.
Mind you, we now emit:
$ clang pr19968.cc
pr19968.cc:1:28: error: expected parameter declarator
inline void* operator new (.::size_t) {
^
pr19968.cc:1:28: error: expected ')'
pr19968.cc:1:27: note: to match this '('
inline void* operator new (.::size_t) {
^
pr19968.cc:1:14: error: 'operator new' must have at least one parameter
inline void* operator new (.::size_t) {
^
pr19968.cc:1:40: error: expected '}'
inline void* operator new (.::size_t) {
^
pr19968.cc:1:39: note: to match this '{'
inline void* operator new (.::size_t) {
^
4 errors generated.
which is pretty lousy, but that's a different issue.</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>