llvm-project/clang/test/SemaOpenCL
Richard Smith 1ef7554efd DR1687: When overload resolution selects a built-in operator, implicit
conversions are only applied to operands of class type, and the second
standard conversion sequence is not applied.

When diagnosing an invalid builtin binary operator, talk about the
original types rather than the converted types. If these differ by a
user-defined conversion, tell the user what happened.

llvm-svn: 335781
2018-06-27 20:30:34 +00:00
..
access-qualifier.cl [OpenCL] Diagnose write_only image3d when extension is disabled 2017-01-25 12:18:50 +00:00
address-spaces-conversions-cl2.0.cl [OpenCL] Fix type compatibility check and generic AS mangling. 2017-03-10 15:23:07 +00:00
address-spaces.cl Revert "Append new attributes to the end of an AttributeList." 2018-06-25 20:06:13 +00:00
amdgpu-attrs.cl
arithmetic-conversions.cl [OpenCL] An error shall occur if any scalar operand has greater rank than the type of the vector element 2017-05-30 05:32:03 +00:00
array-init.cl [OpenCL] Handle OpenCL specific subelement types 2017-05-10 10:28:34 +00:00
array-parameters.cl
as_type.cl [OpenCL] Implement as_type operator as alias of __builtin_astype. 2017-03-16 12:15:10 +00:00
atomic-init.cl [OpenCL] Extended diagnostics for atomic initialization 2017-04-05 12:47:10 +00:00
atomic-ops.cl Remove -finclude-default-header in OpenCL atomic tests 2017-08-15 16:30:31 +00:00
bool-vectors.cl
builtin.cl
builtins-amdgcn-error-f16.cl AMDGPU: Add fmed3 half builtin 2017-02-22 20:55:59 +00:00
builtins-amdgcn-error-gfx9.cl AMDGPU: Add fmed3 half builtin 2017-02-22 20:55:59 +00:00
builtins-amdgcn-error.cl [AMDGPU] fixes for lds f32 builtins 2018-05-21 16:18:07 +00:00
cl20-device-side-enqueue.cl [OpenCL] Add LangAS::opencl_private to represent private address space in AST 2017-10-13 03:37:48 +00:00
clang-builtin-version.cl We allow implicit function declarations as an extension in all C dialects. Remove OpenCL special case. 2017-10-04 01:58:22 +00:00
cond.cl [OpenCL] An error shall occur if any scalar operand has greater rank than the type of the vector element 2017-05-30 05:32:03 +00:00
convergent.cl
endian-attr.cl
event_t.cl
event_t_overload.cl
ext_vectors.cl
extension-begin.cl [OpenCL] Add function name to extension diagnostic 2017-06-30 14:23:01 +00:00
extension-version.cl [OpenCL] Add "cles_khr_int64" extension. 2018-01-26 11:48:46 +00:00
extensions.cl
func.cl [OpenCL] Allow function declaration with empty argument list. 2017-10-11 11:16:31 +00:00
half.cl
images.cl [OpenCL] Test on image access modifiers and image type can only be a type of a function argument. 2017-07-06 07:06:11 +00:00
init.cl
invalid-assignment-constant-address-space.cl [OpenCL] Map default address space to alloca address space 2017-04-11 17:24:23 +00:00
invalid-block.cl [OpenCL] Handle taking an address of block captures. 2017-09-07 17:00:33 +00:00
invalid-clk-events-cl2.0.cl
invalid-constant.cl
invalid-image.cl
invalid-kernel-attrs.cl [CUDA][HIP] Allow CUDA __global__ functions to have amdgpu kernel attributes 2018-06-12 23:58:59 +00:00
invalid-kernel-parameters.cl
invalid-kernel.cl
invalid-pipe-builtin-cl2.0.cl [OpenCL] Enable subgroup extension in tests 2017-07-31 15:50:27 +00:00
invalid-pipes-cl2.0.cl [OpenCL] Allow function declaration with empty argument list. 2017-10-11 11:16:31 +00:00
lit.local.cfg
logical-ops.cl DR1687: When overload resolution selects a built-in operator, implicit 2018-06-27 20:30:34 +00:00
nosvm.cl
null_literal.cl
null_queue.cl
pipes-1.2-negative.cl
predefined-expr.cl [OpenCL] Add constant address space to __func__ in AST. 2018-05-09 13:23:26 +00:00
queue_t_overload.cl
sampler_t.cl [OpenCL] Fix code generation of function-scope constant samplers. 2017-11-15 11:38:17 +00:00
sampler_t_overload.cl
shifts.cl
sizeof.cl
storageclass-cl20.cl [OpenCL] Add LangAS::opencl_private to represent private address space in AST 2017-10-13 03:37:48 +00:00
storageclass.cl [OpenCL] Restrict various keywords in OpenCL C++ mode 2018-05-09 13:16:17 +00:00
str_literals.cl
to_addr_builtin.cl We allow implicit function declarations as an extension in all C dialects. Remove OpenCL special case. 2017-10-04 01:58:22 +00:00
types.cl [Bug 25404] Fix crash on typedef in OpenCL 2.0 2017-04-04 16:50:46 +00:00
unroll-hint.cl
unsupported.cl
vec_compare.cl
vec_step.cl
vector_conv_invalid.cl [OpenCL] Fix checking of vector type casting 2017-10-03 14:34:29 +00:00
vector_inc_dec_ops.cl
vector_literals_const.cl
vector_literals_invalid.cl [OpenCL] Added regression test on invalid vector initialization. 2017-05-25 06:55:02 +00:00
vector_swizzle_length.cl [OpenCL] Restrict swizzle length check to OpenCL mode 2017-10-17 17:54:57 +00:00
warn-missing-prototypes.cl