[PATCH] D71476: [OpenCL] Add builtin function extension handling
Sven van Haastregt via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 13 09:48:07 PST 2019
svenvh created this revision.
svenvh added reviewers: Anastasia, Nicola.
Herald added subscribers: jfb, yaxunl.
Herald added a reviewer: rengolin.
Provide a mechanism to attach OpenCL extension information to builtin
functions, so that their use can be restricted according to the
extension(s) the builtin is part of.
Patch by Pierre Gondois and Sven van Haastregt.
https://reviews.llvm.org/D71476
Files:
clang/lib/Sema/OpenCLBuiltins.td
clang/lib/Sema/SemaLookup.cpp
clang/test/SemaOpenCL/fdeclare-opencl-builtins.cl
clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71476.233826.patch
Type: text/x-patch
Size: 12117 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191213/863b9951/attachment-0001.bin>
More information about the cfe-commits
mailing list