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:
parent
cd89c834a8
commit
82e0bbd01a
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue