Anastasia accepted this revision. Anastasia added a comment. This revision is now accepted and ready to land.
LGTM! Thanks! ================ Comment at: clang/include/clang/Basic/OpenCLOptions.h:80 + return Opts.OpenCLCPlusPlus || Opts.OpenCLVersion == 200 || + (Opts.OpenCLVersion >= 300 && + isSupported("__opencl_c_program_scope_global_variables", Opts)); ---------------- While it is not critical, I would slightly prefer that we are checking for `== 300`. Checking `>= 300` assumes that the next versions are going to be backward compatible. But it is not always the case if we look at the OpenCL evolution. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D103191/new/ https://reviews.llvm.org/D103191 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits