summaryrefslogtreecommitdiff
path: root/test/CodeGenOpenCLCXX/address-space-deduction.cl
diff options
context:
space:
mode:
authorAnastasia Stulova <anastasia.stulova@arm.com>2019-07-25 11:04:29 +0000
committerAnastasia Stulova <anastasia.stulova@arm.com>2019-07-25 11:04:29 +0000
commitbf9b88237ad500497263e65d6e6a9aed9f079247 (patch)
treea17d40b428beb1391beae9518da72cfd123b06b7 /test/CodeGenOpenCLCXX/address-space-deduction.cl
parent802ae91fa793b40d0af3e1779c8e46dfc6cc2bc0 (diff)
downloadclang-bf9b88237ad500497263e65d6e6a9aed9f079247.tar.gz
[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/trunk@367008 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenOpenCLCXX/address-space-deduction.cl')
-rw-r--r--test/CodeGenOpenCLCXX/address-space-deduction.cl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenOpenCLCXX/address-space-deduction.cl b/test/CodeGenOpenCLCXX/address-space-deduction.cl
index a6c8bc617a..a6ae5af01e 100644
--- a/test/CodeGenOpenCLCXX/address-space-deduction.cl
+++ b/test/CodeGenOpenCLCXX/address-space-deduction.cl
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 %s -triple spir-unknown-unknown -cl-std=c++ -O0 -emit-llvm -o - | FileCheck %s -check-prefixes=COMMON,PTR
-// RUN: %clang_cc1 %s -triple spir-unknown-unknown -cl-std=c++ -O0 -emit-llvm -o - -DREF | FileCheck %s -check-prefixes=COMMON,REF
+// RUN: %clang_cc1 %s -triple spir-unknown-unknown -cl-std=clc++ -O0 -emit-llvm -o - | FileCheck %s -check-prefixes=COMMON,PTR
+// RUN: %clang_cc1 %s -triple spir-unknown-unknown -cl-std=clc++ -O0 -emit-llvm -o - -DREF | FileCheck %s -check-prefixes=COMMON,REF
#ifdef REF
#define PTR &