summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaOpenCL
diff options
context:
space:
mode:
authorAndy Gibbs <andyg1001@hotmail.co.uk>2012-10-19 12:44:48 +0000
committerAndy Gibbs <andyg1001@hotmail.co.uk>2012-10-19 12:44:48 +0000
commitc6e68daac0fa6e77a89f3ca72f266a528503dd1c (patch)
treec8d92499ba7d35b64177cfc8e4e3ccad1f699145 /clang/test/SemaOpenCL
parentac51de6ec2f01fce1d9dadf59a86ffe825c42bc7 (diff)
downloadbcm5719-llvm-c6e68daac0fa6e77a89f3ca72f266a528503dd1c.tar.gz
bcm5719-llvm-c6e68daac0fa6e77a89f3ca72f266a528503dd1c.zip
Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive.
llvm-svn: 166280
Diffstat (limited to 'clang/test/SemaOpenCL')
-rw-r--r--clang/test/SemaOpenCL/cond.cl1
-rw-r--r--clang/test/SemaOpenCL/init.cl1
-rw-r--r--clang/test/SemaOpenCL/vec_compare.cl1
-rw-r--r--clang/test/SemaOpenCL/vector_literals_const.cl1
4 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/SemaOpenCL/cond.cl b/clang/test/SemaOpenCL/cond.cl
index 79dc82db190..802ad9b785a 100644
--- a/clang/test/SemaOpenCL/cond.cl
+++ b/clang/test/SemaOpenCL/cond.cl
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
+// expected-no-diagnostics
typedef __attribute__((ext_vector_type(4))) float float4;
diff --git a/clang/test/SemaOpenCL/init.cl b/clang/test/SemaOpenCL/init.cl
index b3ecfecb5db..a156921254b 100644
--- a/clang/test/SemaOpenCL/init.cl
+++ b/clang/test/SemaOpenCL/init.cl
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
+// expected-no-diagnostics
typedef float float8 __attribute((ext_vector_type(8)));
diff --git a/clang/test/SemaOpenCL/vec_compare.cl b/clang/test/SemaOpenCL/vec_compare.cl
index dd91aa592ab..567629c10d5 100644
--- a/clang/test/SemaOpenCL/vec_compare.cl
+++ b/clang/test/SemaOpenCL/vec_compare.cl
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
+// expected-no-diagnostics
typedef __attribute__((ext_vector_type(2))) unsigned int uint2;
typedef __attribute__((ext_vector_type(2))) int int2;
diff --git a/clang/test/SemaOpenCL/vector_literals_const.cl b/clang/test/SemaOpenCL/vector_literals_const.cl
index e761816db4b..ee5ae2002a3 100644
--- a/clang/test/SemaOpenCL/vector_literals_const.cl
+++ b/clang/test/SemaOpenCL/vector_literals_const.cl
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
+// expected-no-diagnostics
typedef int int2 __attribute((ext_vector_type(2)));
typedef int int3 __attribute((ext_vector_type(3)));
OpenPOWER on IntegriCloud