[PATCH] D68388: [PR41008][OpenCL] Add OpenCL C compatibility mode to C++ for OpenCL

Kévin Petit via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 22 02:42:54 PST 2019


kpet updated this revision to Diff 230620.
kpet retitled this revision from "[PR41008][OpenCL] Support restrict keyword in C++ mode" to "[PR41008][OpenCL] Add OpenCL C compatibility mode to C++ for  OpenCL".
kpet edited the summary of this revision.
kpet added a comment.

As discussed offline, let's only enable `restrict` under a compatibility flag. PTAL.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68388

Files:
  clang/docs/ClangCommandLineReference.rst
  clang/include/clang/Basic/LangOptions.def
  clang/include/clang/Basic/TokenKinds.def
  clang/include/clang/Driver/Options.td
  clang/lib/Basic/IdentifierTable.cpp
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/test/CodeGenOpenCLCXX/compat-clc-kernel-arg-info.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68388.230620.patch
Type: text/x-patch
Size: 14778 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191122/49d26882/attachment-0001.bin>


More information about the cfe-commits mailing list