summaryrefslogtreecommitdiffstats
path: root/test/SemaOpenCLCXX/method-overload-address-space.cl
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2019-07-30 08:44:48 +0000
committerHans Wennborg <hans@hanshq.net>2019-07-30 08:44:48 +0000
commit5f5d44f02d0a2acaf4a78d974857f4261865e23e (patch)
tree3ef963e0b783a2a73353cdfd0d3fde88a09a3ba6 /test/SemaOpenCLCXX/method-overload-address-space.cl
parentcc67974f56eb5bd372d9820412eef2cc214cef77 (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/SemaOpenCLCXX/method-overload-address-space.cl')
-rw-r--r--test/SemaOpenCLCXX/method-overload-address-space.cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaOpenCLCXX/method-overload-address-space.cl b/test/SemaOpenCLCXX/method-overload-address-space.cl
index 64a279549c..7c428a570c 100644
--- a/test/SemaOpenCLCXX/method-overload-address-space.cl
+++ b/test/SemaOpenCLCXX/method-overload-address-space.cl
@@ -1,4 +1,4 @@
-//RUN: %clang_cc1 %s -triple spir-unknown-unknown -cl-std=c++ -pedantic -verify
+//RUN: %clang_cc1 %s -triple spir-unknown-unknown -cl-std=clc++ -pedantic -verify
struct C {
void m1() __local __local; //expected-warning{{multiple identical address spaces specified for type}}