https://bugs.llvm.org/show_bug.cgi?id=48099
Bug ID: 48099
Summary: [C++] Add extra diagnostics for kernel argument types.
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: OpenCL
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Clang doesn't diagnose the following invalid use cases for kernel arguments:
- Types passed by pointer or reference must be standard layout types.
- Types passed by value must be POD types.
See examples: https://godbolt.org/z/8b9oeP
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs