[PATCH] D89869: [OpenCL] Define OpenCL feature macros for all versions
Anton Zabaznov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 11 05:46:00 PST 2020
azabaznov updated this revision to Diff 304493.
azabaznov added a comment.
Addressed all concerns except replacing //__opencl_c_int64 //definition into header. The reason for this as follows: this macro should be predefined regardless if clang includes default header or not.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89869/new/
https://reviews.llvm.org/D89869
Files:
clang/include/clang/Basic/OpenCLExtensions.def
clang/include/clang/Basic/OpenCLOptions.h
clang/lib/Basic/TargetInfo.cpp
clang/lib/Basic/Targets.cpp
clang/lib/Frontend/CompilerInstance.cpp
clang/lib/Frontend/InitPreprocessor.cpp
clang/lib/Headers/opencl-c-base.h
clang/lib/Parse/ParsePragma.cpp
clang/lib/Sema/Sema.cpp
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp
clang/test/SemaOpenCL/opencl-feature-extension-simult.cl
clang/test/SemaOpenCL/opencl-features.cl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89869.304493.patch
Type: text/x-patch
Size: 21052 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201111/e2bd834f/attachment-0001.bin>
More information about the cfe-commits
mailing list