Improve OpenCL type checking by rejecting function pointer types.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D33821
[OpenCL] Harden function pointer diagnostics. ClosedPublic Authored by bader on Jun 2 2017, 3:31 AM.
Details Summary Improve OpenCL type checking by rejecting function pointer types.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 2 2017, 10:38 AM Closed by commit rL304575: [OpenCL] Harden function pointer diagnostics. (authored by bader). · Explain WhyJun 2 2017, 11:09 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 101242 cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
cfe/trunk/lib/Sema/SemaDecl.cpp
cfe/trunk/lib/Sema/SemaType.cpp
cfe/trunk/test/SemaOpenCL/func.cl
|