diff options
| author | Anastasia Stulova <anastasia.stulova@arm.com> | 2019-07-25 11:04:29 +0000 |
|---|---|---|
| committer | Anastasia Stulova <anastasia.stulova@arm.com> | 2019-07-25 11:04:29 +0000 |
| commit | 88ed70e24705eacb3e5c3675f78342f197b53cb5 (patch) | |
| tree | 4b77eae26a5b9285ad224eae772801b2e04a31db /clang/test/Parser/opencl-cxx-virtual.cl | |
| parent | 275954539d1eff6e4f6a5bb8f4b1642654dd30d6 (diff) | |
| download | bcm5719-llvm-88ed70e24705eacb3e5c3675f78342f197b53cb5.tar.gz bcm5719-llvm-88ed70e24705eacb3e5c3675f78342f197b53cb5.zip | |
[OpenCL] Rename lang mode flag for C++ mode
Rename lang mode flag to -cl-std=clc++/-cl-std=CLC++
or -std=clc++/-std=CLC++.
This aligns with OpenCL C conversion and removes ambiguity
with OpenCL C++.
Differential Revision: https://reviews.llvm.org/D65102
llvm-svn: 367008
Diffstat (limited to 'clang/test/Parser/opencl-cxx-virtual.cl')
| -rw-r--r-- | clang/test/Parser/opencl-cxx-virtual.cl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Parser/opencl-cxx-virtual.cl b/clang/test/Parser/opencl-cxx-virtual.cl index 53befbc3212..f394a47fadb 100644 --- a/clang/test/Parser/opencl-cxx-virtual.cl +++ b/clang/test/Parser/opencl-cxx-virtual.cl @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 %s -triple spir-unknown-unknown -cl-std=c++ -fsyntax-only -verify +// RUN: %clang_cc1 %s -triple spir-unknown-unknown -cl-std=clc++ -fsyntax-only -verify // Test that virtual functions and abstract classes are rejected. class virtual_functions { |

