[cfe-commits] [PATCH] Do not warn for missing prototypes for OpenCL kernels.

Tanya Lattner lattner at apple.com
Mon Jul 23 15:25:50 PDT 2012


On Jul 19, 2012, at 6:02 PM, Eric Christopher wrote:

> 
> On Jul 19, 2012, at 5:48 PM, Tanya Lattner <lattner at apple.com> wrote:
> 
>> Attached is a patch that disables the missing prototype warning for OpenCL kernels. I have also included a test case.
>> 
>> Please review.
> 
> Seems totally reasonable if that's what you want :)
> 
> Might want a newline at the end of the .cl file? Don't know if it's like C/C++ that want it.
> 

Sure. Thanks!

-Tanya

> -eric




More information about the cfe-commits mailing list