azabaznov accepted this revision.
azabaznov added a comment.
This revision is now accepted and ready to land.
Thanks! Looks good to me in general. See a comment.
================
Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:10006
"use of %select{type|declaration}0 %1 requires %2 support">;
+def ext_opencl_double_without_pragma : Extension<
+ "Clang permits use of type 'double' regardless pragma if 'cl_khr_fp64' is
supported">;
----------------
nit: this can be extended to use arbitrary type and extension for other patches
which will eliminate pragmas for types
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100980/new/
https://reviews.llvm.org/D100980
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits