hanchenye-llvm-project/clang/test/SemaOpenCL
David Tweed ababa8f954 Enforce the restriction that a parameter to a kernel function
cannot be a pointer to the private address space (as clarified
in the OpenCL 1.2 specification).

Patch by Fraser Cormack!

llvm-svn: 204941
2014-03-27 16:34:11 +00:00
..
address-spaces.cl [OpenCL] Disallow casts between address spaces. 2014-01-14 12:47:29 +00:00
cond.cl
endian-attr.cl Removing the endian attribute and updating associated test cases. This functionality was never completely implemented, and this is an improvement over silently eating the attribute. 2013-09-09 12:57:20 +00:00
event_t.cl [OpenCL] Variables in the constant address space must be initialized. 2014-01-03 14:16:55 +00:00
event_t_overload.cl Enable overloading of OpenCL events - this is needed for the overloaded OpenCL builtin functions. 2013-02-07 16:05:33 +00:00
extension-fp64.cl
extern.cl Allow clang to compile the "extern" storage class in OpenCL 1.2. 2014-01-23 16:36:09 +00:00
func_ptr.cl OpenCL: fix for the restriction on pointers to functions. 2014-02-20 13:52:08 +00:00
half.cl Diagnose loads of 'half' l-values in OpenCL. 2013-02-12 01:29:43 +00:00
init.cl
invalid-constant.cl [OpenCL] Add test case for previous commit. 2014-01-03 15:11:57 +00:00
invalid-kernel-attrs.cl Simplifying the OpenCL image attribute. It does not need a semantic integer parameter because the required information is encoded in the spelling. Added an appropriate subject to the attribute, and simplified the semantic checking (which will likely be expanded upon in a future patch). Also, removed the GNU spelling since it was unsupported in the first place. 2014-01-14 17:41:53 +00:00
invalid-kernel-parameters.cl Error on more illegal kernel argument types for OpenCL 2013-07-23 01:23:36 +00:00
invalid-kernel.cl Enforce the restriction that a parameter to a kernel function 2014-03-27 16:34:11 +00:00
invalid-logical-ops-1.1.cl Add a 64-bit triple to these tests, to fix 32-bit bots. 2013-02-21 13:42:33 +00:00
invalid-logical-ops-1.2.cl Add a 64-bit triple to these tests, to fix 32-bit bots. 2013-02-21 13:42:33 +00:00
sampler_t.cl Add OpenCL samplers as Clang builtin types and check sampler related restrictions. 2013-02-07 10:55:47 +00:00
sampler_t_overload.cl Add OpenCL samplers as Clang builtin types and check sampler related restrictions. 2013-02-07 10:55:47 +00:00
shifts.cl Fix a crash in OpenCL code by using the proper (RHS) bit-width. 2013-01-29 15:09:40 +00:00
sizeof.cl [OpenCL] Produce an error, instead of a warning, for sizeof(void) in OpenCL. 2013-12-31 15:47:49 +00:00
storageclass.cl Add an error to check that all program scope variables are in the constant address space in OpenCL. 2013-04-05 20:14:50 +00:00
str_literals.cl [OpenCL] Make sure we put string literals in the constant address space. 2013-11-14 18:26:10 +00:00
unsupported.cl Add some semantic checks for OpenCL. Variadic macros, VLAs and bitfields are not supported. 2013-01-17 17:35:00 +00:00
vec_compare.cl
vec_step.cl
vector_conv_invalid.cl
vector_inc_dec_ops.cl OpenCL allows the (pre/post)-(increment/decrement) operator on integer vector types, 2013-09-06 09:58:08 +00:00
vector_literals_const.cl
vector_literals_invalid.cl
warn-missing-prototypes.cl