clover: Fix build since clang r301442
v2: rename default_ik -> ik_opencl Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
@@ -126,7 +126,7 @@ namespace {
|
||||
c->getDiagnosticOpts().ShowCarets = false;
|
||||
|
||||
compat::set_lang_defaults(c->getInvocation(), c->getLangOpts(),
|
||||
clang::IK_OpenCL, ::llvm::Triple(target.triple),
|
||||
compat::ik_opencl, ::llvm::Triple(target.triple),
|
||||
c->getPreprocessorOpts(),
|
||||
clang::LangStandard::lang_opencl11);
|
||||
|
||||
|
Reference in New Issue
Block a user