hanchenye-llvm-project/clang/test/SemaOpenCL
Andrew Savonichev 9ed325e463 [OpenCL] Undefine cl_intel_planar_yuv extension
Summary:

Remove unnecessary definition (otherwise the extension will be defined
where it's not supposed to be defined).

Consider the code:

  #pragma OPENCL EXTENSION cl_intel_planar_yuv : begin
  // some declarations
  #pragma OPENCL EXTENSION cl_intel_planar_yuv : end

is enough for extension to become known for clang.

Patch by: Dmitry Sidorov <dmitry.sidorov@intel.com>

Reviewers: Anastasia, yaxunl

Reviewed By: Anastasia

Tags: #clang

Differential Revision: https://reviews.llvm.org/D58666

llvm-svn: 362398
2019-06-03 13:02:43 +00:00
..
access-qualifier.cl [OpenCL] Relax diagnostics on OpenCL access qualifiers 2018-09-06 15:10:26 +00:00
address-spaces-conversions-cl2.0.cl [Sema] Change addr space diagnostics in casts to follow C++ style. 2019-03-07 17:06:30 +00:00
address-spaces.cl [Sema][OpenCL] Make address space conversions a bit stricter. 2019-05-08 14:23:49 +00:00
amdgpu-attrs.cl [AMDGPU] Allow using integral non-type template parameters 2019-02-26 18:49:36 +00:00
arithmetic-conversions.cl
arm-integer-dot-product.cl [OpenCL] Add support for the cl_arm_integer_dot_product extensions 2019-05-24 14:53:52 +00:00
array-init.cl [NFC] Fix line endings in OpenCL tests 2019-05-17 09:25:38 +00:00
array-parameters.cl
as_type.cl
atomic-init.cl
atomic-ops.cl __c11_atomic_load's _Atomic can be const 2018-08-02 17:35:46 +00:00
block-array-capturing.cl Revert r326937 "[OpenCL] Remove block invoke function from emitted block literal struct" 2018-10-02 13:02:24 +00:00
bool-vectors.cl
builtin.cl [OpenCL] Improved testing of default header. 2019-03-19 13:04:17 +00:00
builtins-amdgcn-error-ci.cl AMDGPU: Add another missing builtin 2018-08-09 22:18:37 +00:00
builtins-amdgcn-error-f16.cl
builtins-amdgcn-error-gfx9.cl
builtins-amdgcn-error-vi.cl [AMDGPU] rename vi-insts into gfx8-insts 2019-04-05 18:25:00 +00:00
builtins-amdgcn-error.cl AMDGPU: add __builtin_amdgcn_update_dpp 2018-10-17 02:32:26 +00:00
cl20-device-side-enqueue.cl [OpenCL] Remove unwanted signedness conversion from tests 2018-10-19 09:01:37 +00:00
clang-builtin-version.cl Revert "We allow implicit function declarations as an extension in all C dialects. Remove OpenCL special case." 2018-09-24 14:21:56 +00:00
clk_event_t.cl Enable queue_t and clk_event_t comparisons in C++ mode 2019-05-23 09:20:08 +00:00
cond.cl
convergent.cl
endian-attr.cl
event_t.cl
event_t_overload.cl [Sema][OpenCL] Make address space conversions a bit stricter. 2019-05-08 14:23:49 +00:00
ext_vectors.cl
extension-begin.cl [OpenCL] Undefine cl_intel_planar_yuv extension 2019-06-03 13:02:43 +00:00
extension-begin.h [OpenCL] Fix serialization of OpenCLExtensionDecls 2018-10-29 11:14:01 +00:00
extension-version.cl [OpenCL][PR40603] In C++ preserve compatibility with OpenCL C v2.0 2019-02-07 17:32:37 +00:00
extensions.cl [OpenCL] Improved testing of default header. 2019-03-19 13:04:17 +00:00
fdeclare-opencl-builtins.cl [OpenCL] Declare builtin functions using TableGen 2019-06-03 09:39:11 +00:00
format-strings-fixit.cl [OpenGL] Fix test on PPC after r352540 2019-01-30 11:24:04 +00:00
func.cl
half.cl
images.cl
init.cl
intel-subgroup-avc-ext-types.cl [OpenCL] Add support of cl_intel_device_side_avc_motion_estimation extension 2018-11-08 11:25:41 +00:00
invalid-assignment-constant-address-space.cl
invalid-block.cl
invalid-constant.cl
invalid-image.cl [OpenCL][PR40707] Allow OpenCL C types in C++ mode. 2019-02-15 12:07:57 +00:00
invalid-kernel-attrs.cl Merge two attribute diagnostics into one 2018-09-17 10:39:46 +00:00
invalid-kernel-parameters.cl [OpenCL] Forbid size dependent types used as kernel arguments 2018-07-31 20:26:43 +00:00
invalid-kernel.cl
invalid-pipe-builtin-cl2.0.cl
invalid-pipes-cl2.0.cl [OpenCL] Support pipe keyword in C++ mode 2019-05-22 13:12:20 +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
multistep-explicit-cast.cl [Sema] Mark implicitly-inserted ICE's as being part of explicit cast (PR38166) 2018-07-24 08:16:50 +00:00
nosvm.cl
null_literal.cl
null_queue.cl [OpenCL] Allow zero assignment and comparisons between queue_t type variables 2018-09-25 12:59:34 +00:00
numbered-address-space.cl [Sema][OpenCL] Make address space conversions a bit stricter. 2019-05-08 14:23:49 +00:00
pipes-1.2-negative.cl
predefined-expr.cl
printf-format-string-warnings.cl OpenCL: Use length modifier for warning on vector printf arguments 2019-01-29 20:49:54 +00:00
printf-format-strings.cl OpenCL: Use length modifier for warning on vector printf arguments 2019-01-29 20:49:54 +00:00
queue_t_overload.cl [Sema][OpenCL] Make address space conversions a bit stricter. 2019-05-08 14:23:49 +00:00
sampler_t.cl [OpenCL] Fix file-scope const sampler variable for 2.0 2019-05-27 11:19:07 +00:00
sampler_t_overload.cl
shifts.cl
sizeof.cl
storageclass-cl20.cl
storageclass.cl
str_literals.cl
to_addr_builtin.cl [OpenCL] Improve extension-version.cl and to_addr_builtin.cl tests 2018-09-27 13:20:29 +00:00
types.cl
unroll-hint.cl
unsupported.cl
vec_compare.cl
vec_step.cl
vector_conv_invalid.cl
vector_inc_dec_ops.cl
vector_literals_const.cl
vector_literals_invalid.cl
vector_swizzle_length.cl
warn-missing-prototypes.cl