]> granicus.if.org Git - clang/commit
[OpenCL] Add const, volatile and pointer builtin handling
authorSven van Haastregt <sven.vanhaastregt@arm.com>
Tue, 20 Aug 2019 12:21:03 +0000 (12:21 +0000)
committerSven van Haastregt <sven.vanhaastregt@arm.com>
Tue, 20 Aug 2019 12:21:03 +0000 (12:21 +0000)
commitfe16449410bda98b22f833347364a654f3a16c5c
tree49c363ea88cc403c74c66a2436d9fe23ec4c9266
parent3c19a8938b8e1da9b891d759a2533968edf2d3ed
[OpenCL] Add const, volatile and pointer builtin handling

Const, volatile, and pointer types were previously available, but not
working.  This patch adds handling for OpenCL builtin functions.

Add TableGen definitions for some atomic and asynchronous builtins to
make use of the new functionality.

Patch by Pierre Gondois and Sven van Haastregt.

Differential Revision: https://reviews.llvm.org/D63442

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@369373 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/OpenCLBuiltins.td
test/SemaOpenCL/fdeclare-opencl-builtins.cl
utils/TableGen/ClangOpenCLBuiltinEmitter.cpp