[Libclc-dev] [PATCH] prepare-builtins: Fix build with LLVM 3.6
Tom Stellard
tom at stellard.net
Fri Jul 10 06:46:48 PDT 2015
Committed as r241905, thanks!
-Tom
On Sun, Jul 05, 2015 at 12:08:19PM +0200, Tomasz Borowik wrote:
> ---
> 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
>
> _______________________________________________
> Libclc-dev mailing list
> Libclc-dev at pcc.me.uk
> http://www.pcc.me.uk/cgi-bin/mailman/listinfo/libclc-dev
More information about the Libclc-dev
mailing list