Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Clang hangs when compiling the attached code sample #36535

Open Quuxplusone opened 6 years ago

Quuxplusone commented 6 years ago
Bugzilla Link PR37562
Status NEW
Importance P normal
Reported by Tomas Holy (tt.holy@gmail.com)
Reported on 2018-05-23 04:48:35 -0700
Last modified on 2018-05-23 04:48:35 -0700
Version 6.0
Hardware PC Windows NT
CC llvm-bugs@lists.llvm.org
Fixed by commit(s)
Attachments clang_hangs_sample.cpp (526 bytes, text/plain)
Blocks
Blocked by
See also
Created attachment 20331
clang hangs when compiling this file

Clang hangs when compiling the attached code sample. If the trailing return
type is removed from the lambda it works fine.
Quuxplusone commented 6 years ago

Attached clang_hangs_sample.cpp (526 bytes, text/plain): clang hangs when compiling this file