summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaOpenCL/clang-builtin-version.cl
Commit message (Collapse)AuthorAgeFilesLines
* Revert "We allow implicit function declarations as an extension in all C ↵Anastasia Stulova2018-09-241-1/+1
| | | | | | | | | | dialects. Remove OpenCL special case." Discussed on cfe-commits (Week-of-Mon-20180820), this change leads to the generation of invalid IR for OpenCL without giving an error. Therefore, the conclusion was to revert. llvm-svn: 342885
* We allow implicit function declarations as an extension in all C dialects. ↵Richard Smith2017-10-041-1/+1
| | | | | | Remove OpenCL special case. llvm-svn: 314872
* [OpenCL] Added diagnostic for implicit declaration of function in OpenCLEgor Churaev2017-05-301-19/+40
| | | | | | | | | | | | Reviewers: Anastasia, cfe-commits Reviewed By: Anastasia Subscribers: bader, yaxunl Differential Revision: https://reviews.llvm.org/D31745 llvm-svn: 304193
* [OpenCL] Make OpenCL Builtins added according to the right version.Anastasia Stulova2016-07-041-0/+44
Currently we only have OpenCL 2.0 Builtins i.e. pipes or address space conversions. They have to be added only in the version 2.0 compilation mode to make the identifiers available for use in the other versions. Review: http://reviews.llvm.org/D20249 llvm-svn: 274509
OpenPOWER on IntegriCloud