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

Eric Christopher echristo at apple.com
Thu Jul 19 18:02:56 PDT 2012


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.

-eric



More information about the cfe-commits mailing list