https://llvm.org/bugs/show_bug.cgi?id=24027
Bug ID: 24027
Summary: clang-cl: empty lambda capture generates attribute
block cannot be empty
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Simple reduced repro
std::function<void()> f([] {});
produces "error(clang): Microsoft attribute block cannot be empty".
Not present in r239702.
Present in r240278.
Still present in r241367.
Probably crept in around r239846/r239879.
clang.exe compiles the lambda correctly. Only clang-cl.exe has the issue.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs