diff options
author | Vedran Miletić <vedran@miletic.net> | 2016-06-21 01:17:49 +0200 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2016-06-21 10:08:57 +0900 |
commit | 82e0bbd01abfb2073519941d9893fa6ac05fb58c (patch) | |
tree | eda00b49ee6614289ef92fc74118c010fc128fc2 /src | |
parent | cd89c834a8b3b4e5f5874c8e1f90c9b01d541181 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/clover/llvm/invocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp index e2cadda64cf..57eaaaa9bab 100644 --- a/src/gallium/state_trackers/clover/llvm/invocation.cpp +++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp @@ -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( |