diff options
Diffstat (limited to 'test/Parser')
77 files changed, 80 insertions, 80 deletions
diff --git a/test/Parser/2008-10-31-parse-noop-failure.c b/test/Parser/2008-10-31-parse-noop-failure.c index c93947591b..0598ea7dc9 100755 --- a/test/Parser/2008-10-31-parse-noop-failure.c +++ b/test/Parser/2008-10-31-parse-noop-failure.c @@ -1,4 +1,4 @@ -// RUN: clang -verify -parse-noop %t +// RUN: clang-cc -verify -parse-noop %t void add_attribute(id) int id; {} diff --git a/test/Parser/CompoundStmtScope.c b/test/Parser/CompoundStmtScope.c index 9aadbceac1..6a404aa3a2 100644 --- a/test/Parser/CompoundStmtScope.c +++ b/test/Parser/CompoundStmtScope.c @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only -verify %s +// RUN: clang-cc -fsyntax-only -verify %s int foo() { { diff --git a/test/Parser/MicrosoftExtensions.c b/test/Parser/MicrosoftExtensions.c index 039bafea09..6f5622e939 100644 --- a/test/Parser/MicrosoftExtensions.c +++ b/test/Parser/MicrosoftExtensions.c @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only -verify -fms-extensions -x=objective-c++ %s +// RUN: clang-cc -fsyntax-only -verify -fms-extensions -x=objective-c++ %s __stdcall int func0(); int __stdcall func(); typedef int (__cdecl *tptr)(); diff --git a/test/Parser/argument_qualified.c b/test/Parser/argument_qualified.c index cd92c3258c..c9494e7373 100644 --- a/test/Parser/argument_qualified.c +++ b/test/Parser/argument_qualified.c @@ -1,4 +1,4 @@ -// RUN: clang %s +// RUN: clang-cc %s int abc (const float x) { return 1; } diff --git a/test/Parser/argument_redef.c b/test/Parser/argument_redef.c index 16263f4357..1a43178a40 100644 --- a/test/Parser/argument_redef.c +++ b/test/Parser/argument_redef.c @@ -1,4 +1,4 @@ -/* RUN: clang -fsyntax-only -verify %s +/* RUN: clang-cc -fsyntax-only -verify %s */ int foo(int A) { /* expected-note {{previous definition is here}} */ diff --git a/test/Parser/argument_scope.c b/test/Parser/argument_scope.c index 8b9f065c82..5e6f439cfd 100644 --- a/test/Parser/argument_scope.c +++ b/test/Parser/argument_scope.c @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only %s +// RUN: clang-cc -fsyntax-only %s typedef struct foo foo; void blah(int foo) { diff --git a/test/Parser/asm.c b/test/Parser/asm.c index c23d31a724..9cf9046aab 100644 --- a/test/Parser/asm.c +++ b/test/Parser/asm.c @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only -verify %s +// RUN: clang-cc -fsyntax-only -verify %s void f1() { asm ("ret" : : :); // expected-error {{expected string literal}} diff --git a/test/Parser/attributes.c b/test/Parser/attributes.c index d7fc35d92b..37fa0ca1d3 100644 --- a/test/Parser/attributes.c +++ b/test/Parser/attributes.c @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only -verify %s -pedantic -std=c99 +// RUN: clang-cc -fsyntax-only -verify %s -pedantic -std=c99 int __attribute__(()) x; // expected-warning {{extension used}} diff --git a/test/Parser/bad-control.c b/test/Parser/bad-control.c index fab9fa3039..6e59667c35 100644 --- a/test/Parser/bad-control.c +++ b/test/Parser/bad-control.c @@ -1,4 +1,4 @@ -/* RUN: clang -fsyntax-only -verify %s +/* RUN: clang-cc -fsyntax-only -verify %s */ int foo() { break; /* expected-error {{'break' statement not in loop or switch statement}} */ diff --git a/test/Parser/block-block-storageclass.c b/test/Parser/block-block-storageclass.c index c9be12f1f0..d24ec5f1c6 100644 --- a/test/Parser/block-block-storageclass.c +++ b/test/Parser/block-block-storageclass.c @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only -verify -parse-noop %s +// RUN: clang-cc -fsyntax-only -verify -parse-noop %s #if 0 #include <stdio.h> void _Block_byref_release(void*src){} diff --git a/test/Parser/block-pointer-decl.c b/test/Parser/block-pointer-decl.c index 9920f5f68b..7a21651bad 100644 --- a/test/Parser/block-pointer-decl.c +++ b/test/Parser/block-pointer-decl.c @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only -verify -parse-noop -fblocks %s +// RUN: clang-cc -fsyntax-only -verify -parse-noop -fblocks %s struct blockStruct { int (^a)(float, int); diff --git a/test/Parser/builtin_classify_type.c b/test/Parser/builtin_classify_type.c index 0a46f33b71..7046310eb4 100644 --- a/test/Parser/builtin_classify_type.c +++ b/test/Parser/builtin_classify_type.c @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only -verify %s +// RUN: clang-cc -fsyntax-only -verify %s struct foo { int a; }; diff --git a/test/Parser/builtin_types_compatible.c b/test/Parser/builtin_types_compatible.c index 925c7ea50a..0664a9f556 100644 --- a/test/Parser/builtin_types_compatible.c +++ b/test/Parser/builtin_types_compatible.c @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only -verify %s +// RUN: clang-cc -fsyntax-only -verify %s extern int funcInt(int); extern float funcFloat(float); diff --git a/test/Parser/c-namespace.c b/test/Parser/c-namespace.c index 2b380503ac..ffca15e6a2 100644 --- a/test/Parser/c-namespace.c +++ b/test/Parser/c-namespace.c @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only %s +// RUN: clang-cc -fsyntax-only %s void bla1() { struct XXX; int XXX; diff --git a/test/Parser/char-literal-printing.c b/test/Parser/char-literal-printing.c index 990b8f76e1..f6ad0ff511 100644 --- a/test/Parser/char-literal-printing.c +++ b/test/Parser/char-literal-printing.c @@ -1,4 +1,4 @@ -// RUN: clang -ast-print %s +// RUN: clang-cc -ast-print %s #include <stddef.h> diff --git a/test/Parser/check-objc2-syntax-1.m b/test/Parser/check-objc2-syntax-1.m index 967fa7583c..f596e9ba0f 100644 --- a/test/Parser/check-objc2-syntax-1.m +++ b/test/Parser/check-objc2-syntax-1.m @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only -verify %s +// RUN: clang-cc -fsyntax-only -verify %s @interface Subclass + (int)magicNumber; diff --git a/test/Parser/check-syntax-1.m b/test/Parser/check-syntax-1.m index 9036c65dce..f4aa430cde 100644 --- a/test/Parser/check-syntax-1.m +++ b/test/Parser/check-syntax-1.m @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only -verify %s +// RUN: clang-cc -fsyntax-only -verify %s int @interface bla ; // expected-error {{cannot combine with previous 'int' declaration specifier}} @end diff --git a/test/Parser/check_cast.c b/test/Parser/check_cast.c index c69f0f0d03..4df851c7bf 100644 --- a/test/Parser/check_cast.c +++ b/test/Parser/check_cast.c @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only -verify %s +// RUN: clang-cc -fsyntax-only -verify %s struct foo { int a; }; diff --git a/test/Parser/compound_literal.c b/test/Parser/compound_literal.c index c6d665ca43..c263763b2e 100644 --- a/test/Parser/compound_literal.c +++ b/test/Parser/compound_literal.c @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only -verify %s +// RUN: clang-cc -fsyntax-only -verify %s int main() { char *s; s = (char []){"whatever"}; diff --git a/test/Parser/control-scope.c b/test/Parser/control-scope.c index 4beed7eecd..7ffc6ac46c 100644 --- a/test/Parser/control-scope.c +++ b/test/Parser/control-scope.c @@ -1,5 +1,5 @@ -// RUN: clang %s -std=c90 -verify && -// RUN: clang %s -std=c99 +// RUN: clang-cc %s -std=c90 -verify && +// RUN: clang-cc %s -std=c99 int f (int z) { if (z + sizeof (enum {a})) // expected-note {{previous definition is here}} diff --git a/test/Parser/cxx-bool.cpp b/test/Parser/cxx-bool.cpp index 623dcb2887..f0b3a9f9f0 100644 --- a/test/Parser/cxx-bool.cpp +++ b/test/Parser/cxx-bool.cpp @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only %s +// RUN: clang-cc -fsyntax-only %s bool a = true; bool b = false; diff --git a/test/Parser/cxx-casting.cpp b/test/Parser/cxx-casting.cpp index 4b11dc8a2b..1fdc28d2c8 100644 --- a/test/Parser/cxx-casting.cpp +++ b/test/Parser/cxx-casting.cpp @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only %s +// RUN: clang-cc -fsyntax-only %s char *const_cast_test(const char *var) { @@ -33,4 +33,4 @@ double static_cast_test(int i) char postfix_expr_test() { return reinterpret_cast<char*>(0xdeadbeef)[0]; -}
\ No newline at end of file +} diff --git a/test/Parser/cxx-class.cpp b/test/Parser/cxx-class.cpp index 9cdd1d7c0e..ff452b9191 100644 --- a/test/Parser/cxx-class.cpp +++ b/test/Parser/cxx-class.cpp @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only -verify %s +// RUN: clang-cc -fsyntax-only -verify %s class C; class C { public: diff --git a/test/Parser/cxx-condition.cpp b/test/Parser/cxx-condition.cpp index 2a77193f25..8fbca2a90f 100644 --- a/test/Parser/cxx-condition.cpp +++ b/test/Parser/cxx-condition.cpp @@ -1,4 +1,4 @@ -// RUN: clang -parse-noop -verify %s +// RUN: clang-cc -parse-noop -verify %s void f() { int a; diff --git a/test/Parser/cxx-exception-spec.cpp b/test/Parser/cxx-exception-spec.cpp index 47e9ffb50b..b2203c96df 100644 --- a/test/Parser/cxx-exception-spec.cpp +++ b/test/Parser/cxx-exception-spec.cpp @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only %s +// RUN: clang-cc -fsyntax-only %s struct X { }; diff --git a/test/Parser/cxx-reference.cpp b/test/Parser/cxx-reference.cpp index a1cbc5ea4d..0d2b9d29c3 100644 --- a/test/Parser/cxx-reference.cpp +++ b/test/Parser/cxx-reference.cpp @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only -verify %s +// RUN: clang-cc -fsyntax-only -verify %s extern char *bork; char *& bar = bork; diff --git a/test/Parser/cxx-template-decl.cpp b/test/Parser/cxx-template-decl.cpp index ce617fb7a2..ec333de8b4 100644 --- a/test/Parser/cxx-template-decl.cpp +++ b/test/Parser/cxx-template-decl.cpp @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only -verify %s +// RUN: clang-cc -fsyntax-only -verify %s // Errors export class foo { }; // expected-error {{expected template}} diff --git a/test/Parser/cxx-try.cpp b/test/Parser/cxx-try.cpp index 642c8f6fe8..76b85e8406 100644 --- a/test/Parser/cxx-try.cpp +++ b/test/Parser/cxx-try.cpp @@ -1,4 +1,4 @@ |