[PATCH] D57824: [OpenCL][PR40603] Align the use of extensions in C++ to be backwards compatible with OpenCL C v2.0

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 6 08:47:43 PST 2019


Anastasia created this revision.
Anastasia added reviewers: svenvh, rjmccall.
Herald added subscribers: ebevhan, jfb, yaxunl.

One of the goal of C++ mode for OpenCL is to preserve backwards compatibility with OpenCL C v2.0!

This patch aligns extensions!


https://reviews.llvm.org/D57824

Files:
  lib/Frontend/InitPreprocessor.cpp
  lib/Parse/ParsePragma.cpp
  lib/Sema/Sema.cpp
  test/SemaOpenCL/extension-version.cl
  test/SemaOpenCL/extensions.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57824.185564.patch
Type: text/x-patch
Size: 19064 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190206/2d627762/attachment-0001.bin>


More information about the cfe-commits mailing list