Mesa (master): Revert "clover: Fix build against clang SVN >= r265359"

Michel Dänzer daenzer at kemper.freedesktop.org
Thu Apr 7 08:03:53 UTC 2016


Module: Mesa
Branch: master
Commit: 715e97e3421ec33c219c9829e7930d135dfe0bf8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=715e97e3421ec33c219c9829e7930d135dfe0bf8

Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Thu Apr  7 15:05:33 2016 +0900

Revert "clover: Fix build against clang SVN >= r265359"

This reverts commit 0daab9878d2b96356cf667591a2c877d912be52d.

The corresponding clang change was reverted.

Trivial.

---

 src/gallium/state_trackers/clover/llvm/invocation.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp
index 3fb3596..4d11c24 100644
--- a/src/gallium/state_trackers/clover/llvm/invocation.cpp
+++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp
@@ -206,9 +206,6 @@ namespace {
       // http://www.llvm.org/bugs/show_bug.cgi?id=19735
       c.getDiagnosticOpts().ShowCarets = false;
       c.getInvocation().setLangDefaults(c.getLangOpts(), clang::IK_OpenCL,
-#if HAVE_LLVM >= 0x0309
-                                        llvm::Triple(triple),
-#endif
                                         clang::LangStandard::lang_opencl11);
       c.createDiagnostics(
                           new clang::TextDiagnosticPrinter(




More information about the mesa-commit mailing list