summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaOpenCL/invalid-kernel.cl
Commit message (Collapse)AuthorAgeFilesLines
* [OpenCL] Improve address space diagnostics.Egor Churaev2016-12-131-3/+7
| | | | | | | | | | Reviewers: Anastasia Subscribers: bader, yaxunl, cfe-commits Differential Revision: https://reviews.llvm.org/D27671 llvm-svn: 289536
* Allow address space qualifiers on OpenCL array parametersFraser Cormack2014-04-151-0/+2
| | | | llvm-svn: 206275
* Enforce the restriction that a parameter to a kernel functionDavid Tweed2014-03-271-0/+2
| | | | | | | | | cannot be a pointer to the private address space (as clarified in the OpenCL 1.2 specification). Patch by Fraser Cormack! llvm-svn: 204941
* [OpenCL] Produce an error if an address space is used on the returnJoey Gouly2014-01-061-0/+12
| | | | | | type of a function. llvm-svn: 198597
* Do not allow functions or kernels called 'main' in OpenCL.Joey Gouly2013-11-051-0/+8
| | | | llvm-svn: 194068
* Error on more illegal kernel argument types for OpenCLMatt Arsenault2013-07-231-1/+1
| | | | | | | | bool, half, pointers and structs / unions containing any of these are not allowed. Does not yet reject size_t and related integer types that are also disallowed. llvm-svn: 186908
* Add OpenCL error that a kernel function must have void return type. Includes ↵Tanya Lattner2013-01-301-0/+4
| | | | | | a test case. llvm-svn: 173963
* Add a diagnostic for an OpenCL kernel with a pointer pointer argument.Joey Gouly2013-01-291-0/+3
Also refactor the surrounding code a little. llvm-svn: 173791
OpenPOWER on IntegriCloud