diff options
author | Hans Wennborg <hans@hanshq.net> | 2019-07-30 08:44:48 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2019-07-30 08:44:48 +0000 |
commit | 5f5d44f02d0a2acaf4a78d974857f4261865e23e (patch) | |
tree | 3ef963e0b783a2a73353cdfd0d3fde88a09a3ba6 /test/CodeGenOpenCLCXX/addrspace-conversion.cl | |
parent | cc67974f56eb5bd372d9820412eef2cc214cef77 (diff) |
Merging r367008:
------------------------------------------------------------------------
r367008 | stulova | 2019-07-25 13:04:29 +0200 (Thu, 25 Jul 2019) | 12 lines
[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
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_90@367300 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenOpenCLCXX/addrspace-conversion.cl')
-rw-r--r-- | test/CodeGenOpenCLCXX/addrspace-conversion.cl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenOpenCLCXX/addrspace-conversion.cl b/test/CodeGenOpenCLCXX/addrspace-conversion.cl index 38422c24e8..a80662f723 100644 --- a/test/CodeGenOpenCLCXX/addrspace-conversion.cl +++ b/test/CodeGenOpenCLCXX/addrspace-conversion.cl @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 %s -triple spir-unknown-unknown -cl-std=c++ -emit-llvm -O0 -o - | FileCheck %s +// RUN: %clang_cc1 %s -triple spir-unknown-unknown -cl-std=clc++ -emit-llvm -O0 -o - | FileCheck %s void bar(__generic volatile unsigned int* ptr) { |