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

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 20 07:56:11 PDT 2018


yaxunl added inline comments.


================
Comment at: test/Parser/opencl-cxx-virtual.cl:1
+// RUN: %clang_cc1 %s -triple spir-unknown-unknown -cl-std=c++ -fsyntax-only -verify
+
----------------
can you add a test for template class with virtual member?


Repository:
  rC Clang

https://reviews.llvm.org/D45873





More information about the cfe-commits mailing list