[Libclc-dev] [PATCH] prepare-builtins: Fix build with LLVM 3.6

EdB edb+libclc at sigluy.net
Sun Jul 5 07:37:18 PDT 2015


Reviewed by EdB <edb+libclc at sigluy.net>

On Sunday 05 July 2015 12:08:19 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





More information about the Libclc-dev mailing list