[PATCH] D20444: [OpenCL] Include opencl-c.h by default as a module
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Thu May 19 12:30:21 PDT 2016
yaxunl created this revision.
yaxunl added reviewers: Anastasia, pxli168, bader, rsmith.
yaxunl added a subscriber: cfe-commits.
Include opencl-c.h by default as a module to utilize the automatic AST caching mechanism of module.
Add an option -fno-default-header to disable default header for OpenCL.
This is an attempting effort to elicit further discussions.
http://reviews.llvm.org/D20444
Files:
include/clang/Basic/LangOptions.def
include/clang/Driver/CC1Options.td
include/clang/Frontend/CompilerInvocation.h
lib/Frontend/CompilerInvocation.cpp
lib/Headers/module.modulemap
test/CodeGenOpenCL/bool_cast.cl
test/Headers/opencl-c-header.cl
test/Parser/opencl-atomics-cl20.cl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20444.57837.patch
Type: text/x-patch
Size: 8123 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160519/42646367/attachment-0001.bin>
More information about the cfe-commits
mailing list