[PATCH] D63256: [OpenCL] Split type and macro definitions into opencl-c-base.h

Sven van Haastregt via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 14 09:48:55 PDT 2019


svenvh updated this revision to Diff 204796.
svenvh added a comment.

Change `IncludeDefaultHeader` and `DeclareOpenCLBuiltins` logic as per @asavonic's comments.  Also extend `test/SemaOpenCL/fdeclare-opencl-builtins.cl` to test the interplay of both options.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63256/new/

https://reviews.llvm.org/D63256

Files:
  lib/Frontend/CompilerInvocation.cpp
  lib/Headers/CMakeLists.txt
  lib/Headers/opencl-c-base.h
  lib/Headers/opencl-c.h
  test/SemaOpenCL/fdeclare-opencl-builtins.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63256.204796.patch
Type: text/x-patch
Size: 47517 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190614/4e83d8ac/attachment-0001.bin>


More information about the cfe-commits mailing list