[PATCH] D57824: [OpenCL][PR40603] In C++ preserve backwards compatibility with OpenCL C v2.0

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 7 08:05:25 PST 2019


Anastasia updated this revision to Diff 185774.
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".
Anastasia edited the summary of this revision.
Anastasia added a comment.

- Moved version check inside the extension logic.
- Changed commit message to reflect better functionality of the patch.


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

https://reviews.llvm.org/D57824

Files:
  include/clang/Basic/OpenCLOptions.h
  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.185774.patch
Type: text/x-patch
Size: 20695 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190207/7042e74d/attachment-0001.bin>


More information about the cfe-commits mailing list