[PATCH] D45873: [OpenCL] Reject virtual functions for OpenCL C++

Sven van Haastregt via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 20 04:40:11 PDT 2018


svenvh created this revision.
svenvh added reviewers: yaxunl, bader.
Herald added a subscriber: cfe-commits.

The OpenCL C++ specification doesn't mention restricting virtual inheritance, so leaving that unaffected for now.


Repository:
  rC Clang

https://reviews.llvm.org/D45873

Files:
  include/clang/Basic/DiagnosticParseKinds.td
  include/clang/Basic/LangOptions.def
  lib/Frontend/CompilerInvocation.cpp
  lib/Parse/ParseDecl.cpp
  test/Parser/opencl-cxx-virtual.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45873.143289.patch
Type: text/x-patch
Size: 3501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180420/3d761a79/attachment.bin>


More information about the cfe-commits mailing list