One of the goal of C++ mode for OpenCL is to preserve backwards compatibility with OpenCL C v2.0!
This patch enables all OpenCL C types and extensions in C++!
Paths
| Differential D57824
[OpenCL][PR40603] In C++ preserve backwards compatibility with OpenCL C v2.0 ClosedPublic Authored by Anastasia on Feb 6 2019, 8:47 AM.
Details
Summary One of the goal of C++ mode for OpenCL is to preserve backwards compatibility with OpenCL C v2.0! This patch enables all OpenCL C types and extensions in C++!
Diff Detail
Event Timeline
Anastasia added inline comments.
Anastasia retitled this revision from [OpenCL][PR40603] Align the use of extensions in C++ to be backwards compatible with OpenCL C v2.0 to [OpenCL][PR40603] In C++ preserve backwards compatibility with OpenCL C v2.0. Comment Actions
This revision is now accepted and ready to land.Feb 7 2019, 8:12 AM Closed by commit rL353431: [OpenCL][PR40603] In C++ preserve compatibility with OpenCL C v2.0 (authored by stulova). · Explain WhyFeb 7 2019, 9:32 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 185794 cfe/trunk/include/clang/Basic/OpenCLOptions.h
cfe/trunk/lib/Frontend/InitPreprocessor.cpp
cfe/trunk/lib/Parse/ParsePragma.cpp
cfe/trunk/lib/Sema/Sema.cpp
cfe/trunk/test/SemaOpenCL/extension-version.cl
cfe/trunk/test/SemaOpenCL/extensions.cl
|