From 0a47cdfeeff4ba92ef11a51a40fdff56842ed297 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Mon, 14 Dec 2009 17:43:07 +0000 Subject: [PATCH] Make tests use the new clang -cc1 flag. llvm-svn: 91298 --- clang/test/SemaObjCXX/blocks.mm | 2 +- clang/test/SemaObjCXX/category-lookup.mm | 2 +- clang/test/SemaObjCXX/composite-objc-pointertype.mm | 2 +- clang/test/SemaObjCXX/conditional-expr.mm | 2 +- clang/test/SemaObjCXX/cstyle-cast.mm | 2 +- clang/test/SemaObjCXX/linkage-spec.mm | 2 +- clang/test/SemaObjCXX/objc-decls-inside-namespace.mm | 2 +- clang/test/SemaObjCXX/overload.mm | 2 +- clang/test/SemaObjCXX/protocol-lookup.mm | 2 +- clang/test/SemaObjCXX/references.mm | 2 +- clang/test/SemaObjCXX/reserved-keyword-selectors.mm | 2 +- clang/test/SemaObjCXX/standard-conversion-to-bool.mm | 2 +- clang/test/SemaObjCXX/vararg-non-pod.mm | 2 +- clang/test/SemaObjCXX/void_to_obj.mm | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/clang/test/SemaObjCXX/blocks.mm b/clang/test/SemaObjCXX/blocks.mm index 04eb5217e53c..92a909621421 100644 --- a/clang/test/SemaObjCXX/blocks.mm +++ b/clang/test/SemaObjCXX/blocks.mm @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify -fblocks %s +// RUN: clang -cc1 -fsyntax-only -verify -fblocks %s @protocol NSObject; void bar(id(^)(void)); diff --git a/clang/test/SemaObjCXX/category-lookup.mm b/clang/test/SemaObjCXX/category-lookup.mm index 3335d200226d..0458752d9338 100644 --- a/clang/test/SemaObjCXX/category-lookup.mm +++ b/clang/test/SemaObjCXX/category-lookup.mm @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s @interface NSObject @end diff --git a/clang/test/SemaObjCXX/composite-objc-pointertype.mm b/clang/test/SemaObjCXX/composite-objc-pointertype.mm index 8bbfa071adc0..786315e0e7a3 100644 --- a/clang/test/SemaObjCXX/composite-objc-pointertype.mm +++ b/clang/test/SemaObjCXX/composite-objc-pointertype.mm @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s @interface Foo @end diff --git a/clang/test/SemaObjCXX/conditional-expr.mm b/clang/test/SemaObjCXX/conditional-expr.mm index 9f2e185c17ba..e1f92cded3ac 100644 --- a/clang/test/SemaObjCXX/conditional-expr.mm +++ b/clang/test/SemaObjCXX/conditional-expr.mm @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s @protocol P0 @end diff --git a/clang/test/SemaObjCXX/cstyle-cast.mm b/clang/test/SemaObjCXX/cstyle-cast.mm index 4682c43e9520..fca2ef5cb613 100644 --- a/clang/test/SemaObjCXX/cstyle-cast.mm +++ b/clang/test/SemaObjCXX/cstyle-cast.mm @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s @protocol P @end @interface I @end diff --git a/clang/test/SemaObjCXX/linkage-spec.mm b/clang/test/SemaObjCXX/linkage-spec.mm index 2cc0936b2ed2..bbdea7b25873 100644 --- a/clang/test/SemaObjCXX/linkage-spec.mm +++ b/clang/test/SemaObjCXX/linkage-spec.mm @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s extern "C" { @class Protocol; } diff --git a/clang/test/SemaObjCXX/objc-decls-inside-namespace.mm b/clang/test/SemaObjCXX/objc-decls-inside-namespace.mm index cedfcfdb9e4b..464b2871c85d 100644 --- a/clang/test/SemaObjCXX/objc-decls-inside-namespace.mm +++ b/clang/test/SemaObjCXX/objc-decls-inside-namespace.mm @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s namespace C { diff --git a/clang/test/SemaObjCXX/overload.mm b/clang/test/SemaObjCXX/overload.mm index 56dc5108eb95..a15907ce421f 100644 --- a/clang/test/SemaObjCXX/overload.mm +++ b/clang/test/SemaObjCXX/overload.mm @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s // XFAIL: * @interface Foo @end diff --git a/clang/test/SemaObjCXX/protocol-lookup.mm b/clang/test/SemaObjCXX/protocol-lookup.mm index 87655bd9e7a0..b2b354b7782d 100644 --- a/clang/test/SemaObjCXX/protocol-lookup.mm +++ b/clang/test/SemaObjCXX/protocol-lookup.mm @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s @protocol NSObject - retain; - release; diff --git a/clang/test/SemaObjCXX/references.mm b/clang/test/SemaObjCXX/references.mm index e02f360f7876..c4961efc1a55 100644 --- a/clang/test/SemaObjCXX/references.mm +++ b/clang/test/SemaObjCXX/references.mm @@ -1,5 +1,5 @@ // FIXME: This crashes, disable it until fixed. -// RN: clang-cc -verify -emit-llvm -o - %s +// RN: clang -cc1 -verify -emit-llvm -o - %s // RUN: false // XFAIL: * diff --git a/clang/test/SemaObjCXX/reserved-keyword-selectors.mm b/clang/test/SemaObjCXX/reserved-keyword-selectors.mm index 2875f9352737..add8e75ef806 100644 --- a/clang/test/SemaObjCXX/reserved-keyword-selectors.mm +++ b/clang/test/SemaObjCXX/reserved-keyword-selectors.mm @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s @interface A - (void)asm; diff --git a/clang/test/SemaObjCXX/standard-conversion-to-bool.mm b/clang/test/SemaObjCXX/standard-conversion-to-bool.mm index d1e212cf6d49..cb97546582d7 100644 --- a/clang/test/SemaObjCXX/standard-conversion-to-bool.mm +++ b/clang/test/SemaObjCXX/standard-conversion-to-bool.mm @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s @class NSString; id a; diff --git a/clang/test/SemaObjCXX/vararg-non-pod.mm b/clang/test/SemaObjCXX/vararg-non-pod.mm index 83cbaf807155..ee6462b0e027 100644 --- a/clang/test/SemaObjCXX/vararg-non-pod.mm +++ b/clang/test/SemaObjCXX/vararg-non-pod.mm @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s -Wnon-pod-varargs +// RUN: clang -cc1 -fsyntax-only -verify %s -Wnon-pod-varargs extern char version[]; diff --git a/clang/test/SemaObjCXX/void_to_obj.mm b/clang/test/SemaObjCXX/void_to_obj.mm index d1fbf6b69079..851ecf5db666 100644 --- a/clang/test/SemaObjCXX/void_to_obj.mm +++ b/clang/test/SemaObjCXX/void_to_obj.mm @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s // @class XX;