The returned pointer should point to the same pointee type as the argument. 
Header file cannot guarantee that.

Sam

-----Original Message-----
From: Jan Vesely [mailto:[email protected]] 
Sent: Wednesday, June 22, 2016 10:20 PM
To: Liu, Yaxun (Sam) <[email protected]>; [email protected]; 
[email protected]
Cc: [email protected]; Stellard, Thomas <[email protected]>; 
[email protected]
Subject: Re: [PATCH] D19932: [OpenCL] Add to_{global|local|private} builtin 
functions.

jvesely added a subscriber: jvesely.
jvesely added a comment.

Why couldn't this be declared in CLC header? There are multiple instances of 
declaring functions for all available types in libclc (see for example convert 
functions in convert.h).


Repository:
  rL LLVM

http://reviews.llvm.org/D19932



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to