summaryrefslogtreecommitdiffstats
path: root/test/SemaOpenCL
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-05-11 16:06:11 +0000
committerAlp Toker <alp@nuanti.com>2014-05-11 16:06:11 +0000
commita4f9b91df0bf941d568ae2728ed1d33488fc4be2 (patch)
treef649b0b0aa738a400ed8bd338bfeb91aa32f49c0 /test/SemaOpenCL
parent3cfefded998dbe28f88a8afac5bccb22e43326fe (diff)
Parameter/argument terminology fixes
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208499 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaOpenCL')
-rw-r--r--test/SemaOpenCL/half.cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaOpenCL/half.cl b/test/SemaOpenCL/half.cl
index 0e6acb78c4..11abf64633 100644
--- a/test/SemaOpenCL/half.cl
+++ b/test/SemaOpenCL/half.cl
@@ -3,7 +3,7 @@
#pragma OPENCL EXTENSION cl_khr_fp16 : disable
half half_disabled(half *p, // expected-error{{declaring function return value of type 'half' is not allowed}}
- half h) // expected-error{{declaring function argument of type 'half' is not allowed}}
+ half h) // expected-error{{declaring function parameter of type 'half' is not allowed}}
{
half a[2]; // expected-error{{declaring variable of type 'half [2]' is not allowed}}
half b; // expected-error{{declaring variable of type 'half' is not allowed}}