yaxunl added a comment. The tests should be added to SemaOpenCL/extension-version.cl
================ Comment at: lib/Sema/SemaType.cpp:6683 + // access qualifier unless the cl_khr_3d_image_writes extension is enabled. + if (CurType->isOCLImage3dWOType() && + !S.getOpenCLOptions().isEnabled("cl_khr_3d_image_writes")) { ---------------- should modify OpenCLImageTypes.def for image types associated with an extension. The diagnostics will be emitted automatically. https://reviews.llvm.org/D28860 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits