llvm-project/clang/test/SemaOpenCL
Pekka Jaaskelainen 17b91897e9 Allow clang to compile the "extern" storage class in OpenCL 1.2.
The tests (forgot to svn add, sorry!).

Patch from Fraser Cormack!

llvm-svn: 199907
2014-01-23 16:36:09 +00:00
..
address-spaces.cl [OpenCL] Disallow casts between address spaces. 2014-01-14 12:47:29 +00:00
cond.cl Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
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
half.cl Diagnose loads of 'half' l-values in OpenCL. 2013-02-12 01:29:43 +00:00
init.cl Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
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 [OpenCL] Produce an error if an address space is used on the return 2014-01-06 11:26:18 +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 Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
vec_step.cl
vector_conv_invalid.cl In OpenCL, conversions between different vector types are disallowed 2011-09-22 13:03:14 +00:00
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 Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
vector_literals_invalid.cl
warn-missing-prototypes.cl Disable the warning for missing prototypes for OpenCL kernels. Includes testcase. 2012-07-26 00:08:28 +00:00