llvm-project/clang/test/SemaSYCL
Andrew Savonichev 3dbcea8b95 Reland [clang] Check unsupported types in expressions
This was committed as ec6c847179, but then reverted after a failure
in: https://lab.llvm.org/buildbot/#/builders/84/builds/13983

I was not able to reproduce the problem, but I added an extra check
for a NULL QualType just in case.

Original comit message:

The patch adds missing diagnostics for cases like:

  float F3 = ((__float128)F1 * (__float128)F2) / 2.0f;

Sema::checkDeviceDecl (renamed to checkTypeSupport) is changed to work
with a type without the corresponding ValueDecl. It is also refactored
so that host diagnostics for unsupported types can be added here as
well.

Differential Revision: https://reviews.llvm.org/D109315
2021-10-15 13:55:36 +03:00
..
address-space-conversions.cpp [SYCL] Enable `opencl_global_[host,device]` attributes for SYCL 2021-05-18 10:27:35 +03:00
float128.cpp Reland [clang] Check unsupported types in expressions 2021-10-15 13:55:36 +03:00
int128.cpp Reland [clang] Check unsupported types in expressions 2021-10-15 13:55:36 +03:00
kernel-attribute-on-non-sycl.cpp
kernel-attribute.cpp [SYCL] Rework the SYCL driver options 2021-03-17 08:27:19 -04:00
prohibit-thread-local.cpp [SYCL] Rework the SYCL driver options 2021-03-17 08:27:19 -04:00
unique-stable-name-multiple-target-crash.cpp Replace 'magic static' with a member variable for SCYL kernel names 2021-05-27 13:46:31 -07:00
unique_stable_name.cpp Change __builtin_sycl_unique_stable_name to just use an Itanium mangling 2021-09-28 06:41:03 -07:00