llvm-project/clang/test/SemaOpenCLCXX
Ole Strohm 94b0aec0f5 [OpenCL] Fix ICE with invalid use of half
Because half is limited to the `cl_khr_fp16` extension being enabled,
`DefaultLvalueConversion` can fail when it's not enabled.
The original assumption that it will never fail is therefore wrong now.

Fixes: PR47976

Reviewed By: Anastasia

Differential Revision: https://reviews.llvm.org/D103175
2021-06-01 13:43:07 +01:00
..
address-space-castoperators.clcpp [OpenCL] Added distinct file extension for C++ for OpenCL. 2021-03-24 13:07:04 +00:00
address-space-cond.clcpp [OpenCL] Added distinct file extension for C++ for OpenCL. 2021-03-24 13:07:04 +00:00
address-space-deduction.clcpp [OpenCL] Added distinct file extension for C++ for OpenCL. 2021-03-24 13:07:04 +00:00
address-space-lambda.clcpp [clang] [C++2b] [P1102] Accept lambdas without parameter list (). 2021-03-24 14:42:27 +01:00
address-space-of-this-class-scope.clcpp [OpenCL] Added distinct file extension for C++ for OpenCL. 2021-03-24 13:07:04 +00:00
address-space-of-this.clcpp [OpenCL] Added distinct file extension for C++ for OpenCL. 2021-03-24 13:07:04 +00:00
address-space-references.clcpp [OpenCL] Added distinct file extension for C++ for OpenCL. 2021-03-24 13:07:04 +00:00
address-space-templates.clcpp [OpenCL] Fix AST check in address-space-templates test 2021-03-26 14:24:30 +00:00
address_space_overloading.clcpp [OpenCL] Added distinct file extension for C++ for OpenCL. 2021-03-24 13:07:04 +00:00
addrspace-auto.clcpp [OpenCL] Added distinct file extension for C++ for OpenCL. 2021-03-24 13:07:04 +00:00
addrspace-constructors.clcpp [OpenCL] Fix initialization of __constant constructors without arguments 2021-05-18 10:59:53 +01:00
addrspace_cast.clcpp [OpenCL] Added distinct file extension for C++ for OpenCL. 2021-03-24 13:07:04 +00:00
addrspace_cast_ast_dump.clcpp [OpenCL] Added distinct file extension for C++ for OpenCL. 2021-03-24 13:07:04 +00:00
half.clcpp [OpenCL] Fix ICE with invalid use of half 2021-06-01 13:43:07 +01:00
invalid-kernel.clcpp [OpenCL] Add clang extension for non-portable kernel parameters. 2021-05-05 14:58:23 +01:00
members.clcpp [OpenCL] Added distinct file extension for C++ for OpenCL. 2021-03-24 13:07:04 +00:00
method-overload-address-space.clcpp [OpenCL] Added distinct file extension for C++ for OpenCL. 2021-03-24 13:07:04 +00:00
newdelete.clcpp [OpenCL] Added distinct file extension for C++ for OpenCL. 2021-03-24 13:07:04 +00:00
private-access-specifier.cpp [PR41247] Fixed parsing of private keyword in C++. 2019-03-28 11:47:14 +00:00
references.clcpp [OpenCL] Added distinct file extension for C++ for OpenCL. 2021-03-24 13:07:04 +00:00
reinterpret-cast.clcpp [OpenCL] Fix reinterpret_cast of vectors 2021-05-17 12:42:21 +01:00
restricted.clcpp [OpenCL] Added distinct file extension for C++ for OpenCL. 2021-03-24 13:07:04 +00:00
template-astype.cl [OpenCL] Support template parameters for as_type 2021-03-22 11:59:05 +00:00
template-opencl-types.clcpp [C++4OpenCL] Add diagnostics for OpenCL types in templates. 2021-04-27 13:04:25 +01:00