diff options
author | Anastasia Stulova <anastasia.stulova@arm.com> | 2016-02-02 11:29:43 +0000 |
---|---|---|
committer | Anastasia Stulova <anastasia.stulova@arm.com> | 2016-02-02 11:29:43 +0000 |
commit | b607e0f23859e12face36e8cb8b17e66142e5d11 (patch) | |
tree | a25cb2482b614dd79ccef88a34c780cd621ca8a4 /compiler-rt/cmake/Modules/AddCompilerRT.cmake | |
parent | fa5113893229876b156d80469b1930adc3221225 (diff) | |
download | bcm5719-llvm-b607e0f23859e12face36e8cb8b17e66142e5d11.tar.gz bcm5719-llvm-b607e0f23859e12face36e8cb8b17e66142e5d11.zip |
[OpenCL] Eliminate warning when declaring OpenCL builtin functions.
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.
This commit eliminates such warnings by not adding the C standard
includes following the restriction from OpenCL v1.2 s6.9.f.
Patch by Liu Yaxun (Sam)!
Review: http://reviews.llvm.org/D16692
llvm-svn: 259491
Diffstat (limited to 'compiler-rt/cmake/Modules/AddCompilerRT.cmake')
0 files changed, 0 insertions, 0 deletions