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:
Jan Vesely
2017-04-27 12:11:37 -04:00
parent 4e1f3afea9
commit b295a52836
2 changed files with 3 additions and 1 deletions

View File

@@ -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);