https://bugs.llvm.org/show_bug.cgi?id=42596
Bug ID: 42596
Summary: Address space qualifier should be rejected on block
return type
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: OpenCL
Assignee: unassignedclangb...@nondot.org
Reporter: marco.antogn...@arm.com
CC: anastasia.stul...@arm.com, llvm-bugs@lists.llvm.org
The following ill-formed code is currently incorrectly accepted.
__global int (^block0)(void) = ^{ return 0; };
AS qualifiers on return types are not allowed.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs