clover: Fix build against clang SVN >= r273191

setLangDefaults() now requires PreprocessorOptions as an argument.

Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
Vedran Miletić 2016-06-21 01:17:49 +02:00 committed by Michel Dänzer
parent cd89c834a8
commit 82e0bbd01a
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ namespace {
c.getDiagnosticOpts().ShowCarets = false;
c.getInvocation().setLangDefaults(c.getLangOpts(), clang::IK_OpenCL,
#if HAVE_LLVM >= 0x0309
llvm::Triple(triple),
llvm::Triple(triple), c.getPreprocessorOpts(),
#endif
clang::LangStandard::lang_opencl11);
c.createDiagnostics(