[PATCH] D105987: [C++4OpenCL] NULL redefined as nullptr

Justas Janickas via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 19 02:23:35 PDT 2021


Topotuna marked an inline comment as done.
Topotuna added inline comments.


================
Comment at: clang/test/SemaOpenCL/null_literal.cl:26
 
 #ifdef CL20
 // Accept explicitly pointer to generic address space in OpenCL v2.0.
----------------
Anastasia wrote:
> while we are at it, do you mind changing this check into 
> 
> `__OPENCL_CPP_VERSION__ == 200`
> 
> and then we can remove `-DCL20` from the run line
Done in a separate patch D106254 because it is unrelated to this change.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105987/new/

https://reviews.llvm.org/D105987



More information about the cfe-commits mailing list