[llvm-bugs] [Bug 33449] segfault parsing invalid structured bindings range-for loop

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jan 31 23:07:04 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=33449

Daniele Di Proietto <daniele.di.proietto at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #4 from Daniele Di Proietto <daniele.di.proietto at gmail.com> ---
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 -

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190201/6444d9a8/attachment.html>


More information about the llvm-bugs mailing list