yaxunl added a comment.

> this is not true. as I pointed out earlier, take a look at libclc headers. a 
> lot functions are defined for multiple types while maintaining type safety.

>  there is no problem having TYPE * to_global(TYPE *), for every permissible 
> CLC type, declared in headers without any builtin.


This function allows user defined types. How do you declare that in a header 
file?


Repository:
  rL LLVM

http://reviews.llvm.org/D19932



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to