OpenCL builtin functions are usually declared in header files. Currently clang emits warning for OpenCL builtin functions which have the same name as standard C library functions, e.g.
builtin.cl:1:37: warning: incompatible redeclaration of library function 'acos' float __attribute__((overloadable)) acos(float); ^ builtin.cl:1:37: note: 'acos' is a builtin with type 'double (double)'
This commit eliminates such warnings.
I think the
can cover those
The comment shuold not be copy and paste as Anastasia will say.