https://bugs.llvm.org/show_bug.cgi?id=33449
Bug ID: 33449
Summary: segfault parsing invalid structured bindings range-for
loop
Product: clang
Version: 4.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Created attachment 18634
--> https://bugs.llvm.org/attachment.cgi?id=18634&action=edit
reduced test case
When parsing an (invalid) function definition which includes a fragment with a
range-based for loop using structure bindings clang++-4.0 reports a segfault
after accurately reporting various syntax errors.
Attached a reduced testcase, with backtrace and run scripts to follow.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs