[PATCH] D95776: [OpenCL] Add macro definitions of OpenCL C 3.0 features

Anton Zabaznov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 1 01:37:52 PST 2021


azabaznov created this revision.
azabaznov added reviewers: Anastasia, mantognini.
Herald added subscribers: jfb, yaxunl.
azabaznov requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This patch adds possibility to define OpenCL C 3.0 feature macros
via command line option or target setting.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95776

Files:
  clang/include/clang/Basic/OpenCLExtensions.def
  clang/lib/Basic/Targets.cpp
  clang/lib/Headers/opencl-c-base.h
  clang/lib/Headers/opencl-c.h
  clang/test/SemaOpenCL/features.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95776.320415.patch
Type: text/x-patch
Size: 5745 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210201/5775a5e1/attachment.bin>


More information about the cfe-commits mailing list