diff options
Diffstat (limited to 'test/Sema')
-rw-r--r-- | test/Sema/arg-duplicate.c | 2 | ||||
-rw-r--r-- | test/Sema/arg-invalid.c | 2 | ||||
-rw-r--r-- | test/Sema/array-constraint.c | 2 | ||||
-rw-r--r-- | test/Sema/array-init.c | 2 | ||||
-rw-r--r-- | test/Sema/assign.c | 2 | ||||
-rw-r--r-- | test/Sema/c89.c | 2 | ||||
-rw-r--r-- | test/Sema/cfstring.c | 2 | ||||
-rw-r--r-- | test/Sema/compare.c | 2 | ||||
-rw-r--r-- | test/Sema/decl-invalid.c | 2 | ||||
-rw-r--r-- | test/Sema/default.c | 2 | ||||
-rw-r--r-- | test/Sema/enum.c | 2 | ||||
-rw-r--r-- | test/Sema/floating-point-compare.c | 4 | ||||
-rw-r--r-- | test/Sema/for.c | 2 | ||||
-rw-r--r-- | test/Sema/format-strings.c | 2 | ||||
-rw-r--r-- | test/Sema/offsetof.c | 2 | ||||
-rw-r--r-- | test/Sema/return-stack-addr.cpp | 4 | ||||
-rw-r--r-- | test/Sema/switch-duplicate-defaults.c | 2 | ||||
-rw-r--r-- | test/Sema/switch.c | 2 | ||||
-rw-r--r-- | test/Sema/typedef-retain.c | 2 | ||||
-rw-r--r-- | test/Sema/unused-expr.c | 2 |
20 files changed, 22 insertions, 22 deletions
diff --git a/test/Sema/arg-duplicate.c b/test/Sema/arg-duplicate.c index 5d44a72ecb..324e9fa271 100644 --- a/test/Sema/arg-duplicate.c +++ b/test/Sema/arg-duplicate.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast-check %s +// RUN: clang -parse-ast -verify %s typedef int x; int f3(y, x, diff --git a/test/Sema/arg-invalid.c b/test/Sema/arg-invalid.c index 1eae26c5ae..29b51f4d88 100644 --- a/test/Sema/arg-invalid.c +++ b/test/Sema/arg-invalid.c @@ -1,4 +1,4 @@ -// RUN: clang %s -parse-ast-check +// RUN: clang %s -parse-ast -verify void bar (void *); void f11 (z) // expected-error {{may not have 'void' type}} diff --git a/test/Sema/array-constraint.c b/test/Sema/array-constraint.c index 867d4e7cbf..0533a8407e 100644 --- a/test/Sema/array-constraint.c +++ b/test/Sema/array-constraint.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast-check -pedantic %s +// RUN: clang -parse-ast -verify -pedantic %s struct s; struct s* t (struct s z[]) { // expected-error {{array has incomplete element type}} diff --git a/test/Sema/array-init.c b/test/Sema/array-init.c index 5eed259dff..0986354e27 100644 --- a/test/Sema/array-init.c +++ b/test/Sema/array-init.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast-check -pedantic %s +// RUN: clang -parse-ast -verify -pedantic %s extern int foof() = 1; // expected-error{{illegal initializer (only variables can be initialized)}} diff --git a/test/Sema/assign.c b/test/Sema/assign.c index 47fee3e38e..efeaffbee8 100644 --- a/test/Sema/assign.c +++ b/test/Sema/assign.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast-check %s +// RUN: clang -parse-ast -verify %s void *test1(void) { return 0; } diff --git a/test/Sema/c89.c b/test/Sema/c89.c index fc38909a51..87ac4fbb4a 100644 --- a/test/Sema/c89.c +++ b/test/Sema/c89.c @@ -1,4 +1,4 @@ -/* RUN: clang %s -std=c89 -pedantic -parse-ast-check +/* RUN: clang %s -std=c89 -pedantic -parse-ast -verify */ void test1() { { diff --git a/test/Sema/cfstring.c b/test/Sema/cfstring.c index 41181eaa8b..f9fdf3ac43 100644 --- a/test/Sema/cfstring.c +++ b/test/Sema/cfstring.c @@ -1,6 +1,6 @@ #define CFSTR __builtin___CFStringMakeConstantString -// RUN: clang %s -parse-ast-check +// RUN: clang %s -parse-ast -verify void f() { CFSTR("\242"); // expected-warning { CFString literal contains non-ASCII character } CFSTR("\0"); // expected-warning { CFString literal contains NUL character } diff --git a/test/Sema/compare.c b/test/Sema/compare.c index d4e29e8674..b31ace62bd 100644 --- a/test/Sema/compare.c +++ b/test/Sema/compare.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast-check %s +// RUN: clang -parse-ast -verify %s int test(char *C) { // nothing here should warn. return C != ((void*)0); diff --git a/test/Sema/decl-invalid.c b/test/Sema/decl-invalid.c index dda6601dc9..61ad861fa8 100644 --- a/test/Sema/decl-invalid.c +++ b/test/Sema/decl-invalid.c @@ -1,3 +1,3 @@ -// RUN: clang %s -parse-ast-check +// RUN: clang %s -parse-ast -verify typedef union <anonymous> __mbstate_t; // expected-error: {{expected identifier or}} diff --git a/test/Sema/default.c b/test/Sema/default.c index e714effde2..b51ab9a55c 100644 --- a/test/Sema/default.c +++ b/test/Sema/default.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast-check %s +// RUN: clang -parse-ast -verify %s void f5 (int z) { if (z) diff --git a/test/Sema/enum.c b/test/Sema/enum.c index 1ba3977a78..1787c4b6f8 100644 --- a/test/Sema/enum.c +++ b/test/Sema/enum.c @@ -1,4 +1,4 @@ -// RUN: clang %s -parse-ast-check -pedantic +// RUN: clang %s -parse-ast -verify -pedantic enum e {A, B = 42LL << 32, // expected-warning {{ISO C restricts enumerator values to range of 'int'}} diff --git a/test/Sema/floating-point-compare.c b/test/Sema/floating-point-compare.c index 008bedf977..0c84da26b0 100644 --- a/test/Sema/floating-point-compare.c +++ b/test/Sema/floating-point-compare.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast-check %s +// RUN: clang -parse-ast -verify %s int foo(float x, float y) { return x == y; // expected-warning {{comparing floating point with ==}} @@ -6,4 +6,4 @@ int foo(float x, float y) { int bar(float x, float y) { return x != y; // expected-warning {{comparing floating point with ==}} -}
\ No newline at end of file +} diff --git a/test/Sema/for.c b/test/Sema/for.c index 9004d9f41c..42932f6e14 100644 --- a/test/Sema/for.c +++ b/test/Sema/for.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast-check %s +// RUN: clang -parse-ast -verify %s // Check C99 6.8.5p3 void b1 (void) { for (void (*f) (void);;); } diff --git a/test/Sema/format-strings.c b/test/Sema/format-strings.c index 403da07b0f..be2706e4aa 100644 --- a/test/Sema/format-strings.c +++ b/test/Sema/format-strings.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast-check %s +// RUN: clang -parse-ast -verify %s #include <stdio.h> #include <stdarg.h> diff --git a/test/Sema/offsetof.c b/test/Sema/offsetof.c index 5848ba4083..14b1440f5e 100644 --- a/test/Sema/offsetof.c +++ b/test/Sema/offsetof.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast-check %s +// RUN: clang -parse-ast -verify %s #define offsetof(TYPE, MEMBER) __builtin_offsetof (TYPE, MEMBER) diff --git a/test/Sema/return-stack-addr.cpp b/test/Sema/return-stack-addr.cpp index ce4c41bf7a..2e384a1bca 100644 --- a/test/Sema/return-stack-addr.cpp +++ b/test/Sema/return-stack-addr.cpp @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast-check %s +// RUN: clang -parse-ast -verify %s int* ret_local() { @@ -110,4 +110,4 @@ int* ret_cpp_const_cast(const x) { } // TODO: test case for dynamic_cast. clang does not yet have -// support for C++ classes to write such a test case.
\ No newline at end of file +// support for C++ classes to write such a test case. diff --git a/test/Sema/switch-duplicate-defaults.c b/test/Sema/switch-duplicate-defaults.c index 31d46a1bbc..d552c54d57 100644 --- a/test/Sema/switch-duplicate-defaults.c +++ b/test/Sema/switch-duplicate-defaults.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast-check %s +// RUN: clang -parse-ast -verify %s void f (int z) { switch(z) { diff --git a/test/Sema/switch.c b/test/Sema/switch.c index eacd3c2850..b66695bc72 100644 --- a/test/Sema/switch.c +++ b/test/Sema/switch.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast-check %s +// RUN: clang -parse-ast -verify %s void f (int z) { while (z) { diff --git a/test/Sema/typedef-retain.c b/test/Sema/typedef-retain.c index 341252ff65..121e716844 100644 --- a/test/Sema/typedef-retain.c +++ b/test/Sema/typedef-retain.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast-check %s +// RUN: clang -parse-ast -verify %s typedef float float4 __attribute__((vector_size(16))); typedef int int4 __attribute__((vector_size(16))); diff --git a/test/Sema/unused-expr.c b/test/Sema/unused-expr.c index e9e2992d0a..d398e74d2b 100644 --- a/test/Sema/unused-expr.c +++ b/test/Sema/unused-expr.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast-check %s +// RUN: clang -parse-ast -verify %s int foo(int X, int Y); |