Anastasia added inline comments. ================ Comment at: include/clang/Basic/Builtins.h:39 @@ -38,3 +38,3 @@ MS_LANG = 0x10, // builtin requires MS mode. - OCLC_LANG = 0x20, // builtin for OpenCL C only. + OCLC20_LANG = 0x20, // builtin for OpenCL C only. ALL_LANGUAGES = C_LANG | CXX_LANG | OBJC_LANG, // builtin for all languages. ---------------- This is necessary in order to remove CL2.0 BIFs from the list of Clang identifiers in other CL versions.
================ Comment at: include/clang/Basic/DiagnosticSemaKinds.td:7820 @@ +7819,3 @@ +def err_opencl_function_not_supported : Error< + "this function is not supported in this version of CL">; +def err_opencl_enqueue_kernel_incorrect_args : Error< ---------------- This diagnostic should follow the latest version reporting style. http://reviews.llvm.org/D20249 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits