[libclc] 273/291: prepare-builtins: Fix build with LLVM 3.6

Andreas Beckmann anbe at moszumanska.debian.org
Tue Sep 8 10:53:59 UTC 2015


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch master
in repository libclc.

commit eed524f2a90d0afa4d21f6a4e1640aedae097468
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Fri Jul 10 13:37:04 2015 +0000

    prepare-builtins: Fix build with LLVM 3.6
    
    Patch by: Tomasz Borowik
    
    git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@241905 91177308-0d34-0410-b5e6-96231b3b80d8
---
 utils/prepare-builtins.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/prepare-builtins.cpp b/utils/prepare-builtins.cpp
index 2aefcc9..e439ad1 100644
--- a/utils/prepare-builtins.cpp
+++ b/utils/prepare-builtins.cpp
@@ -53,7 +53,7 @@ int main(int argc, char **argv) {
       if (std::error_code ec = ModuleOrErr.getError())
         ErrorMessage = ec.message();
 #if LLVM_360
-      M = ModuleOrErr.get().get();
+      M = ModuleOrErr.get();
 #else
       M = ModuleOrErr.get().release();
 #endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git



More information about the Pkg-opencl-commits mailing list