[PATCH] D53705: [OpenCL] Postpone PSV address space diagnostic

Ronan Keryell via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 30 19:43:37 PDT 2018


keryell added a comment.

In https://reviews.llvm.org/D53705#1278066, @rjmccall wrote:

> I don't suppose there's any chance you can just tell Khronos to fix their stuff.  It's a little funny to be more conservative about keywords in C++ when the C++ committee is actually much more aggressive about adding keywords in the non-reserved space than C is.


You are actually telling this to Khronos since a lot of Khronos members are on the LLVM mailing lists and are reading this right now... :-)
I am unsure to understand what you mean about "the C++ committee is actually much more aggressive about adding keywords in the non-reserved space than C is".
The motivation behind this was to have 0 language extension to C++ in OpenCL C++, like with the single-source version of the standard, SYCL, where you can have a program which is executed purely on CPU without any compiler support, to avoid the CUDA & C++AMP atrocities.
That seems like a good discussion topic next Thursday at the LLVM Bay Area Meetup. :-)


Repository:
  rC Clang

https://reviews.llvm.org/D53705





More information about the cfe-commits mailing list