diff options
author | Chris Lattner <sabre@nondot.org> | 2007-10-11 00:18:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-10-11 00:18:28 +0000 |
commit | 5e4c75f4ef95db6fb848e8bfd5e09efc8a81f1fd (patch) | |
tree | 47bfc858bcc843d6028a3e357e388232fb45c8e3 /clang/test/Parser | |
parent | 41eee516d7475983a656bb3eab6c7d285d949e7d (diff) | |
download | bcm5719-llvm-5e4c75f4ef95db6fb848e8bfd5e09efc8a81f1fd.tar.gz bcm5719-llvm-5e4c75f4ef95db6fb848e8bfd5e09efc8a81f1fd.zip |
rename -parse-ast-print to -ast-print
rename -parse-ast-dump to -ast-dump
remove -parse-ast, which is redundant with -fsyntax-only
llvm-svn: 42852
Diffstat (limited to 'clang/test/Parser')
-rw-r--r-- | clang/test/Parser/CompoundStmtScope.c | 2 | ||||
-rw-r--r-- | clang/test/Parser/argument_redef.c | 2 | ||||
-rw-r--r-- | clang/test/Parser/attributes.c | 2 | ||||
-rw-r--r-- | clang/test/Parser/bad-control.c | 2 | ||||
-rw-r--r-- | clang/test/Parser/builtin_classify_type.c | 2 | ||||
-rw-r--r-- | clang/test/Parser/builtin_types_compatible.c | 2 | ||||
-rw-r--r-- | clang/test/Parser/char-literal-printing.c | 2 | ||||
-rw-r--r-- | clang/test/Parser/check_cast.c | 2 | ||||
-rw-r--r-- | clang/test/Parser/compound_literal.c | 2 | ||||
-rw-r--r-- | clang/test/Parser/cxx-reference.cpp | 2 | ||||
-rw-r--r-- | clang/test/Parser/function-decls.c | 2 | ||||
-rw-r--r-- | clang/test/Parser/goto-ident.c | 2 | ||||
-rw-r--r-- | clang/test/Parser/if-scope-c90.c | 2 | ||||
-rw-r--r-- | clang/test/Parser/if-scope-c99.c | 2 | ||||
-rw-r--r-- | clang/test/Parser/implicit-casts.c | 2 | ||||
-rw-r--r-- | clang/test/Parser/ocu_vector_components.c | 2 | ||||
-rw-r--r-- | clang/test/Parser/parmvardecl_conversion.c | 2 | ||||
-rw-r--r-- | clang/test/Parser/pointer-arithmetic.c | 2 | ||||
-rw-r--r-- | clang/test/Parser/pointer_promotion.c | 2 | ||||
-rw-r--r-- | clang/test/Parser/recovery-1.c | 2 | ||||
-rw-r--r-- | clang/test/Parser/typeof.c | 2 |
21 files changed, 21 insertions, 21 deletions
diff --git a/clang/test/Parser/CompoundStmtScope.c b/clang/test/Parser/CompoundStmtScope.c index 4d1da43e25b..9aadbceac13 100644 --- a/clang/test/Parser/CompoundStmtScope.c +++ b/clang/test/Parser/CompoundStmtScope.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast -verify %s +// RUN: clang -fsyntax-only -verify %s int foo() { { diff --git a/clang/test/Parser/argument_redef.c b/clang/test/Parser/argument_redef.c index 2dce5ab4bd6..d831d48b5a1 100644 --- a/clang/test/Parser/argument_redef.c +++ b/clang/test/Parser/argument_redef.c @@ -1,4 +1,4 @@ -/* RUN: clang -parse-ast -verify %s +/* RUN: clang -fsyntax-only -verify %s */ int foo(int A) { /* expected-error {{previous definition is here}} */ diff --git a/clang/test/Parser/attributes.c b/clang/test/Parser/attributes.c index ecd1237aad8..7161d6c22b1 100644 --- a/clang/test/Parser/attributes.c +++ b/clang/test/Parser/attributes.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast -verify %s -pedantic +// RUN: clang -fsyntax-only -verify %s -pedantic static __inline void __attribute__((__always_inline__, __nodebug__)) // expected-warning {{extension used}} foo (void) diff --git a/clang/test/Parser/bad-control.c b/clang/test/Parser/bad-control.c index caad1f19c9b..fab9fa30394 100644 --- a/clang/test/Parser/bad-control.c +++ b/clang/test/Parser/bad-control.c @@ -1,4 +1,4 @@ -/* RUN: clang -parse-ast -verify %s +/* RUN: clang -fsyntax-only -verify %s */ int foo() { break; /* expected-error {{'break' statement not in loop or switch statement}} */ diff --git a/clang/test/Parser/builtin_classify_type.c b/clang/test/Parser/builtin_classify_type.c index 500c16adc3d..6bed9ec666b 100644 --- a/clang/test/Parser/builtin_classify_type.c +++ b/clang/test/Parser/builtin_classify_type.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast -verify %s +// RUN: clang -fsyntax-only -verify %s struct foo { int a; }; diff --git a/clang/test/Parser/builtin_types_compatible.c b/clang/test/Parser/builtin_types_compatible.c index 096b4006978..b8207841a43 100644 --- a/clang/test/Parser/builtin_types_compatible.c +++ b/clang/test/Parser/builtin_types_compatible.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast -verify %s +// RUN: clang -fsyntax-only -verify %s extern int funcInt(int); extern float funcFloat(float); diff --git a/clang/test/Parser/char-literal-printing.c b/clang/test/Parser/char-literal-printing.c index 67196598d16..990b8f76e1a 100644 --- a/clang/test/Parser/char-literal-printing.c +++ b/clang/test/Parser/char-literal-printing.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast-print %s +// RUN: clang -ast-print %s #include <stddef.h> diff --git a/clang/test/Parser/check_cast.c b/clang/test/Parser/check_cast.c index 8c329fcc991..c69f0f0d035 100644 --- a/clang/test/Parser/check_cast.c +++ b/clang/test/Parser/check_cast.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast -verify %s +// RUN: clang -fsyntax-only -verify %s struct foo { int a; }; diff --git a/clang/test/Parser/compound_literal.c b/clang/test/Parser/compound_literal.c index a5383cc40fa..c6d665ca43b 100644 --- a/clang/test/Parser/compound_literal.c +++ b/clang/test/Parser/compound_literal.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast -verify %s +// RUN: clang -fsyntax-only -verify %s int main() { char *s; s = (char []){"whatever"}; diff --git a/clang/test/Parser/cxx-reference.cpp b/clang/test/Parser/cxx-reference.cpp index 955437916e1..4f3b58c5d53 100644 --- a/clang/test/Parser/cxx-reference.cpp +++ b/clang/test/Parser/cxx-reference.cpp @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast -verify %s +// RUN: clang -fsyntax-only -verify %s extern char *bork; char *& bar = bork; diff --git a/clang/test/Parser/function-decls.c b/clang/test/Parser/function-decls.c index ef93756cc64..3493baa156d 100644 --- a/clang/test/Parser/function-decls.c +++ b/clang/test/Parser/function-decls.c @@ -1,4 +1,4 @@ -/* RUN: clang %s -parse-ast-print +/* RUN: clang %s -ast-print */ void foo() { diff --git a/clang/test/Parser/goto-ident.c b/clang/test/Parser/goto-ident.c index 7231445c79a..87d6ea5513d 100644 --- a/clang/test/Parser/goto-ident.c +++ b/clang/test/Parser/goto-ident.c @@ -1,4 +1,4 @@ -/* RUN: clang -parse-ast -verify %s +/* RUN: clang -fsyntax-only -verify %s */ void foo() { diff --git a/clang/test/Parser/if-scope-c90.c b/clang/test/Parser/if-scope-c90.c index 1623eb00093..43a3676ca48 100644 --- a/clang/test/Parser/if-scope-c90.c +++ b/clang/test/Parser/if-scope-c90.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast -verify --std=c90 %s +// RUN: clang -fsyntax-only -verify --std=c90 %s int f (int z) { diff --git a/clang/test/Parser/if-scope-c99.c b/clang/test/Parser/if-scope-c99.c index c6ce9b68735..41d7ae2e181 100644 --- a/clang/test/Parser/if-scope-c99.c +++ b/clang/test/Parser/if-scope-c99.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast -verify --std=c99 %s +// RUN: clang -fsyntax-only -verify --std=c99 %s int f (int z) { diff --git a/clang/test/Parser/implicit-casts.c b/clang/test/Parser/implicit-casts.c index 320370dbfc6..a07155eea40 100644 --- a/clang/test/Parser/implicit-casts.c +++ b/clang/test/Parser/implicit-casts.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast -verify %s +// RUN: clang -fsyntax-only -verify %s _Complex double X; void test1(int c) { X = 5; diff --git a/clang/test/Parser/ocu_vector_components.c b/clang/test/Parser/ocu_vector_components.c index a47b9a8c960..06084174af1 100644 --- a/clang/test/Parser/ocu_vector_components.c +++ b/clang/test/Parser/ocu_vector_components.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast -verify %s +// RUN: clang -fsyntax-only -verify %s typedef __attribute__(( ocu_vector_type(2) )) float float2; typedef __attribute__(( ocu_vector_type(3) )) float float3; diff --git a/clang/test/Parser/parmvardecl_conversion.c b/clang/test/Parser/parmvardecl_conversion.c index a3e2499b2ea..81acc07b61c 100644 --- a/clang/test/Parser/parmvardecl_conversion.c +++ b/clang/test/Parser/parmvardecl_conversion.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast -verify %s +// RUN: clang -fsyntax-only -verify %s void f (int p[]) { p++; } diff --git a/clang/test/Parser/pointer-arithmetic.c b/clang/test/Parser/pointer-arithmetic.c index 4403d20c11e..3556c9aa4d4 100644 --- a/clang/test/Parser/pointer-arithmetic.c +++ b/clang/test/Parser/pointer-arithmetic.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast -verify %s +// RUN: clang -fsyntax-only -verify %s int *test1(int *a) { return a + 1; } int *test2(int *a) { return 1 + a; } diff --git a/clang/test/Parser/pointer_promotion.c b/clang/test/Parser/pointer_promotion.c index 8d2e6e7a80c..c648209bcf8 100644 --- a/clang/test/Parser/pointer_promotion.c +++ b/clang/test/Parser/pointer_promotion.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast -verify %s +// RUN: clang -fsyntax-only -verify %s int test() { void *vp; diff --git a/clang/test/Parser/recovery-1.c b/clang/test/Parser/recovery-1.c index a098aecfc95..b37c88cba07 100644 --- a/clang/test/Parser/recovery-1.c +++ b/clang/test/Parser/recovery-1.c @@ -1,5 +1,5 @@ // RUN: clang -fsyntax-only -fno-caret-diagnostics -pedantic %s 2>&1 | grep warning | wc -l | grep 1 -// RUN: clang -parse-ast -verify -pedantic %s +// RUN: clang -fsyntax-only -verify -pedantic %s char (((( /* expected-error {{to match this '('}} */ *X x ] )))); /* expected-error {{expected ')'}} */ diff --git a/clang/test/Parser/typeof.c b/clang/test/Parser/typeof.c index e1fd6e4edb9..6c4e79cd161 100644 --- a/clang/test/Parser/typeof.c +++ b/clang/test/Parser/typeof.c @@ -1,4 +1,4 @@ -// RUN: clang -parse-ast -verify %s +// RUN: clang -fsyntax-only -verify %s typedef int TInt; |