<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:daniele.di.proietto@gmail.com" title="Daniele Di Proietto <daniele.di.proietto@gmail.com>"> <span class="fn">Daniele Di Proietto</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - segfault parsing invalid structured bindings range-for loop"
href="https://bugs.llvm.org/show_bug.cgi?id=33449">bug 33449</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;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - segfault parsing invalid structured bindings range-for loop"
href="https://bugs.llvm.org/show_bug.cgi?id=33449#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - segfault parsing invalid structured bindings range-for loop"
href="https://bugs.llvm.org/show_bug.cgi?id=33449">bug 33449</a>
from <span class="vcard"><a class="email" href="mailto:daniele.di.proietto@gmail.com" title="Daniele Di Proietto <daniele.di.proietto@gmail.com>"> <span class="fn">Daniele Di Proietto</span></a>
</span></b>
<pre>Never mind, I think it was fixed on clang-5.0
CRASH:
echo 'template <typename a> b(a c) { for (auto[d] : c) d' | clang-4.0 -x c++
-std=c++1z -
OK:
echo 'template <typename a> b(a c) { for (auto[d] : c) d' | clang-5.0 -x c++
-std=c++1z -</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>