Anastasia added inline comments.
================ Comment at: clang/lib/Headers/opencl-c-base.h:33 // Define feature macros for OpenCL C 2.0 #if (defined(__OPENCL_CPP_VERSION__) || __OPENCL_C_VERSION__ == 200) +#if (__OPENCL_CPP_VERSION__ != 202100) ---------------- I think we should just check here that C++ for OpenCL version is 1.0 so the same as for OpenCL C 2.0 because the same logic applies to it. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108461/new/ https://reviews.llvm.org/D108461 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits