yaxunl added inline comments.
================
Comment at: lib/Sema/SemaType.cpp:1505
+ S.getLangOpts().OpenCLVersion < 120 &&
+ !S.getOpenCLOptions().cl_khr_fp64) {
+ S.Diag(DS.getTypeSpecTypeLoc(), diag::err_type_requires_extension)
----------------
Please update with clang ToT since OpenCLOptions has interface changes.
https://reviews.llvm.org/D27917
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits