[Libclc-dev] Do no circularly define NULL

Jan Vesely via Libclc-dev libclc-dev at lists.llvm.org
Sun Oct 1 10:59:15 PDT 2017


On Sun, 2017-10-01 at 19:17 +0200, Jeroen Ketema via Libclc-dev wrote:
> --- generic/include/clc/clcmacros.h	(revision 312402)
> +++ generic/include/clc/clcmacros.h	(working copy)
> @@ -9,7 +9,7 @@
>  #define CLC_VERSION_1_2 120
>  #endif
>  
> -#define NULL ((void*)NULL)
> +#define NULL ((void*)0)
>  
>  #define __kernel_exec(X, typen) __kernel \
>                                  __attribute__((work_group_size_hint(X, 1, 1))) \

right. LGTM
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>

Jan

> 
> _______________________________________________
> Libclc-dev mailing list
> Libclc-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/libclc-dev

-- 
Jan Vesely <jan.vesely at rutgers.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/libclc-dev/attachments/20171001/1ea1c72b/attachment.sig>


More information about the Libclc-dev mailing list