Revert "clover: Fix build against clang SVN >= r265359"
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 7 Apr 2016 06:05:33 +0000 (15:05 +0900)
committerMichel Dänzer <michel@daenzer.net>
Thu, 7 Apr 2016 08:03:09 +0000 (17:03 +0900)
This reverts commit 0daab9878d2b96356cf667591a2c877d912be52d.

The corresponding clang change was reverted.

Trivial.

src/gallium/state_trackers/clover/llvm/invocation.cpp

index 3fb35969a8101b37c6fc1942c8b6f661801db586..4d11c2477c720991c994da8cf21c7c5c75c1a0a0 100644 (file)
@@ -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(