[PATCH] D27917: [OpenCL] Improve diagnostics for double type
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 19 07:50:44 PST 2016
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
More information about the cfe-commits
mailing list