[Libclc-dev] [PATCH] prepare-builtins: Fix build with LLVM 3.6
Tomasz Borowik
timon37 at gmail.com
Sun Jul 5 03:08:19 PDT 2015
---
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
--
2.4.5
More information about the Libclc-dev
mailing list