[libclc] 26/58: prepare-builtins: Remove call to getGlobalContext()
Andreas Boll
aboll-guest at moszumanska.debian.org
Thu Oct 6 08:16:30 UTC 2016
This is an automated email from the git hooks/post-receive script.
aboll-guest pushed a commit to branch master
in repository libclc.
commit fea4078937afbb76ddc12b1b9dae7a7021b38db3
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Fri Apr 15 14:18:58 2016 +0000
prepare-builtins: Remove call to getGlobalContext()
This function has been removed from LLVM.
Patch By: Laurent Carlier
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@266430 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 a7b0db5..3122f48 100644
--- a/utils/prepare-builtins.cpp
+++ b/utils/prepare-builtins.cpp
@@ -24,7 +24,7 @@ OutputFilename("o", cl::desc("Output filename"),
cl::value_desc("filename"));
int main(int argc, char **argv) {
- LLVMContext &Context = getGlobalContext();
+ LLVMContext Context;
llvm_shutdown_obj Y; // Call llvm_shutdown() on exit.
cl::ParseCommandLineOptions(argc, argv, "libclc builtin preparation tool\n");
--
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