summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/vla.c
diff options
context:
space:
mode:
authorIsmail Pazarbasi <ismail.pazarbasi@gmail.com>2014-03-07 22:36:23 +0000
committerIsmail Pazarbasi <ismail.pazarbasi@gmail.com>2014-03-07 22:36:23 +0000
commit025f428c7303c6b9e11d2a944fe68becd80b7449 (patch)
tree00b960efc4ec06d5205c711594d2ddc196dfd3ef /clang/test/Sema/vla.c
parentab9da5129a0a670a863d58c94f67de0cf276273c (diff)
downloadbcm5719-llvm-025f428c7303c6b9e11d2a944fe68becd80b7449.tar.gz
bcm5719-llvm-025f428c7303c6b9e11d2a944fe68becd80b7449.zip
Replace "can not" with "cannot" in diagnostics messages.
llvm-svn: 203302
Diffstat (limited to 'clang/test/Sema/vla.c')
-rw-r--r--clang/test/Sema/vla.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/Sema/vla.c b/clang/test/Sema/vla.c
index 4fd636122f3..e03dda8c5f6 100644
--- a/clang/test/Sema/vla.c
+++ b/clang/test/Sema/vla.c
@@ -19,7 +19,7 @@ int x = sizeof(struct{char qq[x];}); // expected-error {{fields must have a cons
// PR2352
void f2(unsigned int m)
{
- extern int e1[2][m]; // expected-error {{variable length array declaration can not have 'extern' linkage}}
+ extern int e1[2][m]; // expected-error {{variable length array declaration cannot have 'extern' linkage}}
e1[0][0] = 0;
@@ -34,10 +34,10 @@ int (*e)[i]; // expected-error {{variably modified type declaration not allowed
void f3()
{
- static int a[i]; // expected-error {{variable length array declaration can not have 'static' storage duration}}
- extern int b[i]; // expected-error {{variable length array declaration can not have 'extern' linkage}}
+ static int a[i]; // expected-error {{variable length array declaration cannot have 'static' storage duration}}
+ extern int b[i]; // expected-error {{variable length array declaration cannot have 'extern' linkage}}
- extern int (*c1)[i]; // expected-error {{variably modified type declaration can not have 'extern' linkage}}
+ extern int (*c1)[i]; // expected-error {{variably modified type declaration cannot have 'extern' linkage}}
static int (*d)[i];
}
OpenPOWER on IntegriCloud