summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/test/SemaObjC/ContClassPropertyLookup.m2
-rw-r--r--clang/test/SemaObjC/DoubleMethod.m2
-rw-r--r--clang/test/SemaObjC/access-property-getter.m2
-rw-r--r--clang/test/SemaObjC/alias-test-1.m2
-rw-r--r--clang/test/SemaObjC/alias-test-2.m2
-rw-r--r--clang/test/SemaObjC/argument-checking.m2
-rw-r--r--clang/test/SemaObjC/at-defs.m2
-rw-r--r--clang/test/SemaObjC/atomoic-property-synnthesis-rules.m2
-rw-r--r--clang/test/SemaObjC/attr-cleanup.m2
-rw-r--r--clang/test/SemaObjC/attr-deprecated.m2
-rw-r--r--clang/test/SemaObjC/attr-malloc.m2
-rw-r--r--clang/test/SemaObjC/attr-objc-exception.m2
-rw-r--r--clang/test/SemaObjC/attr-objc-gc.m2
-rw-r--r--clang/test/SemaObjC/bad-receiver-1.m2
-rw-r--r--clang/test/SemaObjC/block-attr.m2
-rw-r--r--clang/test/SemaObjC/block-explicit-return-type.m2
-rw-r--r--clang/test/SemaObjC/block-ivar.m2
-rw-r--r--clang/test/SemaObjC/blocks.m2
-rw-r--r--clang/test/SemaObjC/call-super-2.m2
-rw-r--r--clang/test/SemaObjC/catch-stmt.m2
-rw-r--r--clang/test/SemaObjC/category-1.m2
-rw-r--r--clang/test/SemaObjC/category-method-lookup-2.m2
-rw-r--r--clang/test/SemaObjC/category-method-lookup.m2
-rw-r--r--clang/test/SemaObjC/check-dup-decl-methods-1.m2
-rw-r--r--clang/test/SemaObjC/check-dup-objc-decls-1.m2
-rw-r--r--clang/test/SemaObjC/class-bitfield.m2
-rw-r--r--clang/test/SemaObjC/class-conforming-protocol-1.m2
-rw-r--r--clang/test/SemaObjC/class-conforming-protocol-2.m2
-rw-r--r--clang/test/SemaObjC/class-def-test-1.m2
-rw-r--r--clang/test/SemaObjC/class-extension-dup-methods.m2
-rw-r--r--clang/test/SemaObjC/class-getter-using-dotsyntax.m2
-rw-r--r--clang/test/SemaObjC/class-impl-1.m2
-rw-r--r--clang/test/SemaObjC/class-method-lookup.m2
-rw-r--r--clang/test/SemaObjC/class-method-self.m2
-rw-r--r--clang/test/SemaObjC/class-property-access.m2
-rw-r--r--clang/test/SemaObjC/class-proto-1.m2
-rw-r--r--clang/test/SemaObjC/class-protocol.m2
-rw-r--r--clang/test/SemaObjC/cocoa.m2
-rw-r--r--clang/test/SemaObjC/compare-qualified-id.m2
-rw-r--r--clang/test/SemaObjC/compatible-protocol-qualified-types.m2
-rw-r--r--clang/test/SemaObjC/comptypes-1.m2
-rw-r--r--clang/test/SemaObjC/comptypes-2.m2
-rw-r--r--clang/test/SemaObjC/comptypes-3.m2
-rw-r--r--clang/test/SemaObjC/comptypes-4.m2
-rw-r--r--clang/test/SemaObjC/comptypes-5.m2
-rw-r--r--clang/test/SemaObjC/comptypes-6.m2
-rw-r--r--clang/test/SemaObjC/comptypes-7.m2
-rw-r--r--clang/test/SemaObjC/comptypes-8.m2
-rw-r--r--clang/test/SemaObjC/comptypes-9.m2
-rw-r--r--clang/test/SemaObjC/comptypes-a.m2
-rw-r--r--clang/test/SemaObjC/comptypes-legal.m2
-rw-r--r--clang/test/SemaObjC/conditional-expr-2.m2
-rw-r--r--clang/test/SemaObjC/conditional-expr-3.m2
-rw-r--r--clang/test/SemaObjC/conditional-expr-4.m2
-rw-r--r--clang/test/SemaObjC/conditional-expr-5.m2
-rw-r--r--clang/test/SemaObjC/conditional-expr-6.m2
-rw-r--r--clang/test/SemaObjC/conditional-expr.m2
-rw-r--r--clang/test/SemaObjC/conflicting-ivar-test-1.m2
-rw-r--r--clang/test/SemaObjC/continuation-class-err.m2
-rw-r--r--clang/test/SemaObjC/crash-label.m2
-rw-r--r--clang/test/SemaObjC/deref-interface.m2
-rw-r--r--clang/test/SemaObjC/duplicate-ivar-check.m2
-rw-r--r--clang/test/SemaObjC/enhanced-proto-2.m2
-rw-r--r--clang/test/SemaObjC/error-property-gc-attr.m2
-rw-r--r--clang/test/SemaObjC/exprs.m2
-rw-r--r--clang/test/SemaObjC/foreach.m2
-rw-r--r--clang/test/SemaObjC/format-arg-attribute.m2
-rw-r--r--clang/test/SemaObjC/format-strings-objc.m2
-rw-r--r--clang/test/SemaObjC/forward-class-1.m2
-rw-r--r--clang/test/SemaObjC/forward-class-receiver.m2
-rw-r--r--clang/test/SemaObjC/gcc-cast-ext.m2
-rw-r--r--clang/test/SemaObjC/id-isa-ref.m2
-rw-r--r--clang/test/SemaObjC/id.m2
-rw-r--r--clang/test/SemaObjC/id_builtin.m2
-rw-r--r--clang/test/SemaObjC/idiomatic-parentheses.m2
-rw-r--r--clang/test/SemaObjC/ignore-weakimport-method.m2
-rw-r--r--clang/test/SemaObjC/incompatible-protocol-qualified-types.m2
-rw-r--r--clang/test/SemaObjC/inst-method-lookup-in-root.m2
-rw-r--r--clang/test/SemaObjC/interface-1.m2
-rw-r--r--clang/test/SemaObjC/interface-layout-2.m2
-rw-r--r--clang/test/SemaObjC/interface-layout.m2
-rw-r--r--clang/test/SemaObjC/interface-scope-2.m2
-rw-r--r--clang/test/SemaObjC/interface-scope.m2
-rw-r--r--clang/test/SemaObjC/interface-tu-variable.m2
-rw-r--r--clang/test/SemaObjC/invalid-code.m2
-rw-r--r--clang/test/SemaObjC/invalid-objc-decls-1.m2
-rw-r--r--clang/test/SemaObjC/invalid-receiver.m2
-rw-r--r--clang/test/SemaObjC/invalid-typename.m2
-rw-r--r--clang/test/SemaObjC/ivar-access-package.m2
-rw-r--r--clang/test/SemaObjC/ivar-access-tests.m2
-rw-r--r--clang/test/SemaObjC/ivar-lookup.m2
-rw-r--r--clang/test/SemaObjC/ivar-ref-misuse.m2
-rw-r--r--clang/test/SemaObjC/ivar-sem-check-1.m2
-rw-r--r--clang/test/SemaObjC/ivar-sem-check-2.m2
-rw-r--r--clang/test/SemaObjC/legacy-implementation-1.m2
-rw-r--r--clang/test/SemaObjC/message.m2
-rw-r--r--clang/test/SemaObjC/method-arg-decay.m2
-rw-r--r--clang/test/SemaObjC/method-arg-qualifier-warning.m2
-rw-r--r--clang/test/SemaObjC/method-attributes.m2
-rw-r--r--clang/test/SemaObjC/method-bad-param.m2
-rw-r--r--clang/test/SemaObjC/method-conflict.m2
-rw-r--r--clang/test/SemaObjC/method-def-1.m2
-rw-r--r--clang/test/SemaObjC/method-def-2.m2
-rw-r--r--clang/test/SemaObjC/method-encoding-2.m2
-rw-r--r--clang/test/SemaObjC/method-lookup-2.m2
-rw-r--r--clang/test/SemaObjC/method-lookup-3.m2
-rw-r--r--clang/test/SemaObjC/method-lookup-4.m2
-rw-r--r--clang/test/SemaObjC/method-lookup.m2
-rw-r--r--clang/test/SemaObjC/method-no-context.m2
-rw-r--r--clang/test/SemaObjC/method-not-defined.m2
-rw-r--r--clang/test/SemaObjC/method-sentinel-attr.m2
-rw-r--r--clang/test/SemaObjC/method-typecheck-1.m2
-rw-r--r--clang/test/SemaObjC/method-typecheck-2.m2
-rw-r--r--clang/test/SemaObjC/method-undef-category-warn-1.m2
-rw-r--r--clang/test/SemaObjC/method-undef-extension-warn-1.m2
-rw-r--r--clang/test/SemaObjC/method-undefined-warn-1.m2
-rw-r--r--clang/test/SemaObjC/missing-method-context.m2
-rw-r--r--clang/test/SemaObjC/newproperty-class-method-1.m2
-rw-r--r--clang/test/SemaObjC/no-gc-weak-test.m2
-rw-r--r--clang/test/SemaObjC/no-warn-qual-mismatch.m2
-rw-r--r--clang/test/SemaObjC/no-warn-synth-protocol-meth.m2
-rw-r--r--clang/test/SemaObjC/no-warn-unimpl-method.m2
-rw-r--r--clang/test/SemaObjC/nonnull.m2
-rw-r--r--clang/test/SemaObjC/nsobject-attribute-1.m2
-rw-r--r--clang/test/SemaObjC/nsobject-attribute.m2
-rw-r--r--clang/test/SemaObjC/objc-string-constant.m2
-rw-r--r--clang/test/SemaObjC/objc2-merge-gc-attribue-decl.m2
-rw-r--r--clang/test/SemaObjC/objc2-warn-weak-decl.m2
-rw-r--r--clang/test/SemaObjC/property-10.m2
-rw-r--r--clang/test/SemaObjC/property-11.m2
-rw-r--r--clang/test/SemaObjC/property-12.m2
-rw-r--r--clang/test/SemaObjC/property-13.m2
-rw-r--r--clang/test/SemaObjC/property-2.m2
-rw-r--r--clang/test/SemaObjC/property-3.m2
-rw-r--r--clang/test/SemaObjC/property-4.m2
-rw-r--r--clang/test/SemaObjC/property-5.m2
-rw-r--r--clang/test/SemaObjC/property-6.m2
-rw-r--r--clang/test/SemaObjC/property-7.m2
-rw-r--r--clang/test/SemaObjC/property-8.m2
-rw-r--r--clang/test/SemaObjC/property-9-impl-method.m2
-rw-r--r--clang/test/SemaObjC/property-9.m2
-rw-r--r--clang/test/SemaObjC/property-category-1.m2
-rw-r--r--clang/test/SemaObjC/property-category-2.m2
-rw-r--r--clang/test/SemaObjC/property-category-3.m2
-rw-r--r--clang/test/SemaObjC/property-category-4.m2
-rw-r--r--clang/test/SemaObjC/property-error-readonly-assign.m2
-rw-r--r--clang/test/SemaObjC/property-expression-error.m2
-rw-r--r--clang/test/SemaObjC/property-impl-misuse.m2
-rw-r--r--clang/test/SemaObjC/property-inherited.m2
-rw-r--r--clang/test/SemaObjC/property-ivar-mismatch.m2
-rw-r--r--clang/test/SemaObjC/property-method-lookup-impl.m2
-rw-r--r--clang/test/SemaObjC/property-missing.m2
-rw-r--r--clang/test/SemaObjC/property-nonfragile-abi.m2
-rw-r--r--clang/test/SemaObjC/property-noprotocol-warning.m2
-rw-r--r--clang/test/SemaObjC/property-redundant-decl-accessor.m2
-rw-r--r--clang/test/SemaObjC/property-typecheck-1.m2
-rw-r--r--clang/test/SemaObjC/property-user-setter.m2
-rw-r--r--clang/test/SemaObjC/property-weak.m2
-rw-r--r--clang/test/SemaObjC/property.m2
-rw-r--r--clang/test/SemaObjC/props-on-prots.m2
-rw-r--r--clang/test/SemaObjC/protocol-archane.m2
-rw-r--r--clang/test/SemaObjC/protocol-attribute.m2
-rw-r--r--clang/test/SemaObjC/protocol-expr-1.m2
-rw-r--r--clang/test/SemaObjC/protocol-expr-neg-1.m2
-rw-r--r--clang/test/SemaObjC/protocol-id-test-1.m2
-rw-r--r--clang/test/SemaObjC/protocol-id-test-2.m2
-rw-r--r--clang/test/SemaObjC/protocol-id-test-3.m2
-rw-r--r--clang/test/SemaObjC/protocol-implementation-inherited.m2
-rw-r--r--clang/test/SemaObjC/protocol-lookup-2.m2
-rw-r--r--clang/test/SemaObjC/protocol-lookup.m2
-rw-r--r--clang/test/SemaObjC/protocol-qualified-class-unsupported.m2
-rw-r--r--clang/test/SemaObjC/protocol-typecheck.m2
-rw-r--r--clang/test/SemaObjC/protocols.m2
-rw-r--r--clang/test/SemaObjC/rdr-6211479-array-property.m2
-rw-r--r--clang/test/SemaObjC/restrict-id-type.m2
-rw-r--r--clang/test/SemaObjC/return.m2
-rw-r--r--clang/test/SemaObjC/scope-check.m2
-rw-r--r--clang/test/SemaObjC/selector-1.m2
-rw-r--r--clang/test/SemaObjC/selector-error.m2
-rw-r--r--clang/test/SemaObjC/selector-overload.m2
-rw-r--r--clang/test/SemaObjC/sizeof-interface.m2
-rw-r--r--clang/test/SemaObjC/static-ivar-ref-1.m4
-rw-r--r--clang/test/SemaObjC/stmts.m2
-rw-r--r--clang/test/SemaObjC/string.m4
-rw-r--r--clang/test/SemaObjC/super-cat-prot.m2
-rw-r--r--clang/test/SemaObjC/super-property-message-expr.m2
-rw-r--r--clang/test/SemaObjC/super-property-notation.m2
-rw-r--r--clang/test/SemaObjC/super.m2
-rw-r--r--clang/test/SemaObjC/synchronized.m2
-rw-r--r--clang/test/SemaObjC/synthesize-setter-contclass.m2
-rw-r--r--clang/test/SemaObjC/synthesized-ivar.m2
-rw-r--r--clang/test/SemaObjC/try-catch.m2
-rw-r--r--clang/test/SemaObjC/typedef-class.m2
-rw-r--r--clang/test/SemaObjC/ucn-objc-string.m2
-rw-r--r--clang/test/SemaObjC/undeclared-selector.m2
-rw-r--r--clang/test/SemaObjC/undef-class-messagin-error.m2
-rw-r--r--clang/test/SemaObjC/undef-protocol-methods-1.m2
-rw-r--r--clang/test/SemaObjC/undef-superclass-1.m2
-rw-r--r--clang/test/SemaObjC/undefined-protocol-type-1.m2
-rw-r--r--clang/test/SemaObjC/unused.m2
-rw-r--r--clang/test/SemaObjC/va-method-1.m2
-rw-r--r--clang/test/SemaObjC/warn-assign-property-nscopying.m2
-rw-r--r--clang/test/SemaObjC/warn-selector-selection.m2
-rw-r--r--clang/test/SemaObjC/warn-superclass-method-mismatch.m2
-rw-r--r--clang/test/SemaObjC/warn-weak-field.m2
-rw-r--r--clang/test/SemaObjC/weak-attr-ivar.m2
-rw-r--r--clang/test/SemaObjC/writable-property-in-superclass.m2
207 files changed, 209 insertions, 209 deletions
diff --git a/clang/test/SemaObjC/ContClassPropertyLookup.m b/clang/test/SemaObjC/ContClassPropertyLookup.m
index aa5afa7854f..46bcc5365fd 100644
--- a/clang/test/SemaObjC/ContClassPropertyLookup.m
+++ b/clang/test/SemaObjC/ContClassPropertyLookup.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface MyObject {
int _foo;
diff --git a/clang/test/SemaObjC/DoubleMethod.m b/clang/test/SemaObjC/DoubleMethod.m
index e43c1a0ab03..e92a017f293 100644
--- a/clang/test/SemaObjC/DoubleMethod.m
+++ b/clang/test/SemaObjC/DoubleMethod.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface Subclass
{
diff --git a/clang/test/SemaObjC/access-property-getter.m b/clang/test/SemaObjC/access-property-getter.m
index 225d63b0173..1bd5c33f510 100644
--- a/clang/test/SemaObjC/access-property-getter.m
+++ b/clang/test/SemaObjC/access-property-getter.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: clang -cc1 -verify %s
@protocol NSObject
- (oneway void)release;
diff --git a/clang/test/SemaObjC/alias-test-1.m b/clang/test/SemaObjC/alias-test-1.m
index 39358cd62a6..e946c3eb1ec 100644
--- a/clang/test/SemaObjC/alias-test-1.m
+++ b/clang/test/SemaObjC/alias-test-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@compatibility_alias alias4 foo; // expected-warning {{cannot find interface declaration for 'foo'}}
diff --git a/clang/test/SemaObjC/alias-test-2.m b/clang/test/SemaObjC/alias-test-2.m
index e0baf4e4d37..976e2a3758c 100644
--- a/clang/test/SemaObjC/alias-test-2.m
+++ b/clang/test/SemaObjC/alias-test-2.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
// Note: GCC doesn't produce any of the following errors.
@interface Super @end // expected-note {{previous definition is here}}
diff --git a/clang/test/SemaObjC/argument-checking.m b/clang/test/SemaObjC/argument-checking.m
index 1b6c10d29c6..c4ada44c512 100644
--- a/clang/test/SemaObjC/argument-checking.m
+++ b/clang/test/SemaObjC/argument-checking.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -pedantic %s
+// RUN: clang -cc1 -fsyntax-only -verify -pedantic %s
struct S { int a; };
diff --git a/clang/test/SemaObjC/at-defs.m b/clang/test/SemaObjC/at-defs.m
index 78ce63cd529..03c9c76e3b2 100644
--- a/clang/test/SemaObjC/at-defs.m
+++ b/clang/test/SemaObjC/at-defs.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown %s -fsyntax-only
+// RUN: clang -cc1 -triple i386-unknown-unknown %s -fsyntax-only
@interface Test {
double a;
diff --git a/clang/test/SemaObjC/atomoic-property-synnthesis-rules.m b/clang/test/SemaObjC/atomoic-property-synnthesis-rules.m
index 429d6c0f804..42b173b7870 100644
--- a/clang/test/SemaObjC/atomoic-property-synnthesis-rules.m
+++ b/clang/test/SemaObjC/atomoic-property-synnthesis-rules.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
/*
Conditions for warning:
diff --git a/clang/test/SemaObjC/attr-cleanup.m b/clang/test/SemaObjC/attr-cleanup.m
index f4d057b2b83..821da000a3c 100644
--- a/clang/test/SemaObjC/attr-cleanup.m
+++ b/clang/test/SemaObjC/attr-cleanup.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: clang -cc1 %s -verify -fsyntax-only
@class NSString;
diff --git a/clang/test/SemaObjC/attr-deprecated.m b/clang/test/SemaObjC/attr-deprecated.m
index e385a977f55..675f9696328 100644
--- a/clang/test/SemaObjC/attr-deprecated.m
+++ b/clang/test/SemaObjC/attr-deprecated.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: clang -cc1 %s -fsyntax-only -verify
@interface A {
int X __attribute__((deprecated));
diff --git a/clang/test/SemaObjC/attr-malloc.m b/clang/test/SemaObjC/attr-malloc.m
index 6cd6be00a8c..4d2093fa3d4 100644
--- a/clang/test/SemaObjC/attr-malloc.m
+++ b/clang/test/SemaObjC/attr-malloc.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify -fsyntax-only -fblocks %s
+// RUN: clang -cc1 -verify -fsyntax-only -fblocks %s
@interface TestAttrMallocOnMethods {}
- (id) test1 __attribute((malloc)); // expected-warning {{functions returning a pointer type}}
diff --git a/clang/test/SemaObjC/attr-objc-exception.m b/clang/test/SemaObjC/attr-objc-exception.m
index 3efb8cfa40c..3e012c74823 100644
--- a/clang/test/SemaObjC/attr-objc-exception.m
+++ b/clang/test/SemaObjC/attr-objc-exception.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: clang -cc1 %s -fsyntax-only -verify
__attribute__((__objc_exception__))
@interface NSException {
diff --git a/clang/test/SemaObjC/attr-objc-gc.m b/clang/test/SemaObjC/attr-objc-gc.m
index 20da639c3cb..90ca4e3280c 100644
--- a/clang/test/SemaObjC/attr-objc-gc.m
+++ b/clang/test/SemaObjC/attr-objc-gc.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
static id __attribute((objc_gc(weak))) a;
static id __attribute((objc_gc(strong))) b;
diff --git a/clang/test/SemaObjC/bad-receiver-1.m b/clang/test/SemaObjC/bad-receiver-1.m
index 64ff3d19931..52509753d8a 100644
--- a/clang/test/SemaObjC/bad-receiver-1.m
+++ b/clang/test/SemaObjC/bad-receiver-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface I
- (id) retain;
diff --git a/clang/test/SemaObjC/block-attr.m b/clang/test/SemaObjC/block-attr.m
index d67fd354354..885a9464939 100644
--- a/clang/test/SemaObjC/block-attr.m
+++ b/clang/test/SemaObjC/block-attr.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin10 -fsyntax-only -verify -fblocks -fobjc-gc-only %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fsyntax-only -verify -fblocks -fobjc-gc-only %s
@interface Thing {}
diff --git a/clang/test/SemaObjC/block-explicit-return-type.m b/clang/test/SemaObjC/block-explicit-return-type.m
index cfe72de3952..6e9728613a8 100644
--- a/clang/test/SemaObjC/block-explicit-return-type.m
+++ b/clang/test/SemaObjC/block-explicit-return-type.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s -verify -fblocks
+// RUN: clang -cc1 -fsyntax-only %s -verify -fblocks
// FIXME: should compile
// Test for blocks with explicit return type specified.
diff --git a/clang/test/SemaObjC/block-ivar.m b/clang/test/SemaObjC/block-ivar.m
index 231c9a23f8a..5dbefdcbaad 100644
--- a/clang/test/SemaObjC/block-ivar.m
+++ b/clang/test/SemaObjC/block-ivar.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -fblocks
+// RUN: clang -cc1 -fsyntax-only -verify %s -fblocks
@interface NSObject {
struct objc_object *isa;
diff --git a/clang/test/SemaObjC/blocks.m b/clang/test/SemaObjC/blocks.m
index aecdfd1f5e4..c16372bcc42 100644
--- a/clang/test/SemaObjC/blocks.m
+++ b/clang/test/SemaObjC/blocks.m
@@ -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/SemaObjC/call-super-2.m b/clang/test/SemaObjC/call-super-2.m
index afd35a8e263..f3d0a967603 100644
--- a/clang/test/SemaObjC/call-super-2.m
+++ b/clang/test/SemaObjC/call-super-2.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
#include <stddef.h>
diff --git a/clang/test/SemaObjC/catch-stmt.m b/clang/test/SemaObjC/catch-stmt.m
index 6dcbcdebfba..eb570c02edf 100644
--- a/clang/test/SemaObjC/catch-stmt.m
+++ b/clang/test/SemaObjC/catch-stmt.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: clang -cc1 -verify %s
@protocol P;
diff --git a/clang/test/SemaObjC/category-1.m b/clang/test/SemaObjC/category-1.m
index dcbda42cd13..58826189113 100644
--- a/clang/test/SemaObjC/category-1.m
+++ b/clang/test/SemaObjC/category-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface MyClass1 @end
diff --git a/clang/test/SemaObjC/category-method-lookup-2.m b/clang/test/SemaObjC/category-method-lookup-2.m
index 15da63783fe..ea828d9a3bc 100644
--- a/clang/test/SemaObjC/category-method-lookup-2.m
+++ b/clang/test/SemaObjC/category-method-lookup-2.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef struct objc_class *Class;
@interface NSObject
diff --git a/clang/test/SemaObjC/category-method-lookup.m b/clang/test/SemaObjC/category-method-lookup.m
index bda465783b5..9b880c4ac70 100644
--- a/clang/test/SemaObjC/category-method-lookup.m
+++ b/clang/test/SemaObjC/category-method-lookup.m
@@ -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/SemaObjC/check-dup-decl-methods-1.m b/clang/test/SemaObjC/check-dup-decl-methods-1.m
index ae0cab0b5d4..edcd3be518a 100644
--- a/clang/test/SemaObjC/check-dup-decl-methods-1.m
+++ b/clang/test/SemaObjC/check-dup-decl-methods-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface SUPER
- (int) meth;
diff --git a/clang/test/SemaObjC/check-dup-objc-decls-1.m b/clang/test/SemaObjC/check-dup-objc-decls-1.m
index 1dfaf090508..434f8ddae51 100644
--- a/clang/test/SemaObjC/check-dup-objc-decls-1.m
+++ b/clang/test/SemaObjC/check-dup-objc-decls-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface Foo // expected-note {{previous definition is here}}
@end
diff --git a/clang/test/SemaObjC/class-bitfield.m b/clang/test/SemaObjC/class-bitfield.m
index 82209121b18..d6d9855b295 100644
--- a/clang/test/SemaObjC/class-bitfield.m
+++ b/clang/test/SemaObjC/class-bitfield.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: clang -cc1 %s -fsyntax-only -verify
@interface X
{
diff --git a/clang/test/SemaObjC/class-conforming-protocol-1.m b/clang/test/SemaObjC/class-conforming-protocol-1.m
index a9712b23a6a..e2889c3f9d3 100644
--- a/clang/test/SemaObjC/class-conforming-protocol-1.m
+++ b/clang/test/SemaObjC/class-conforming-protocol-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@protocol P1 @end
@protocol P2 @end
diff --git a/clang/test/SemaObjC/class-conforming-protocol-2.m b/clang/test/SemaObjC/class-conforming-protocol-2.m
index 7b218bdbd80..550bafd60f7 100644
--- a/clang/test/SemaObjC/class-conforming-protocol-2.m
+++ b/clang/test/SemaObjC/class-conforming-protocol-2.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@protocol NSWindowDelegate @end
diff --git a/clang/test/SemaObjC/class-def-test-1.m b/clang/test/SemaObjC/class-def-test-1.m
index da8a3267662..0cf49ddd1b9 100644
--- a/clang/test/SemaObjC/class-def-test-1.m
+++ b/clang/test/SemaObjC/class-def-test-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@protocol SUPER;
diff --git a/clang/test/SemaObjC/class-extension-dup-methods.m b/clang/test/SemaObjC/class-extension-dup-methods.m
index f50b293ade3..929ad0665a8 100644
--- a/clang/test/SemaObjC/class-extension-dup-methods.m
+++ b/clang/test/SemaObjC/class-extension-dup-methods.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface Foo
- (int) garf; // expected-note {{ previous declaration is here}}
diff --git a/clang/test/SemaObjC/class-getter-using-dotsyntax.m b/clang/test/SemaObjC/class-getter-using-dotsyntax.m
index ba42590c341..049c6ce6273 100644
--- a/clang/test/SemaObjC/class-getter-using-dotsyntax.m
+++ b/clang/test/SemaObjC/class-getter-using-dotsyntax.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef struct objc_class *Class;
diff --git a/clang/test/SemaObjC/class-impl-1.m b/clang/test/SemaObjC/class-impl-1.m
index 09ad1556c03..80d6915d755 100644
--- a/clang/test/SemaObjC/class-impl-1.m
+++ b/clang/test/SemaObjC/class-impl-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef int INTF3; // expected-note {{previous definition is here}}
diff --git a/clang/test/SemaObjC/class-method-lookup.m b/clang/test/SemaObjC/class-method-lookup.m
index 6f745d48ab6..ef9df5a1461 100644
--- a/clang/test/SemaObjC/class-method-lookup.m
+++ b/clang/test/SemaObjC/class-method-lookup.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface MyBase
- (void) rootInstanceMethod;
diff --git a/clang/test/SemaObjC/class-method-self.m b/clang/test/SemaObjC/class-method-self.m
index d36bc8cbc91..ea4de84dae9 100644
--- a/clang/test/SemaObjC/class-method-self.m
+++ b/clang/test/SemaObjC/class-method-self.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: clang -cc1 -verify %s
typedef struct objc_class *Class;
@interface XX
diff --git a/clang/test/SemaObjC/class-property-access.m b/clang/test/SemaObjC/class-property-access.m
index 663b87d2ff1..ce34a233f7b 100644
--- a/clang/test/SemaObjC/class-property-access.m
+++ b/clang/test/SemaObjC/class-property-access.m
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface Test {}
+ (Test*)one;
diff --git a/clang/test/SemaObjC/class-proto-1.m b/clang/test/SemaObjC/class-proto-1.m
index 8f0f3d8826c..5e9ee6063e7 100644
--- a/clang/test/SemaObjC/class-proto-1.m
+++ b/clang/test/SemaObjC/class-proto-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface INTF1 @end
diff --git a/clang/test/SemaObjC/class-protocol.m b/clang/test/SemaObjC/class-protocol.m
index 12b63817513..c2eded75f97 100644
--- a/clang/test/SemaObjC/class-protocol.m
+++ b/clang/test/SemaObjC/class-protocol.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
// pr5552
@interface Protocol
diff --git a/clang/test/SemaObjC/cocoa.m b/clang/test/SemaObjC/cocoa.m
index 7dab9f55e73..a0715453dff 100644
--- a/clang/test/SemaObjC/cocoa.m
+++ b/clang/test/SemaObjC/cocoa.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -mcpu pentium4 %s -print-stats
+// RUN: clang -cc1 -mcpu pentium4 %s -print-stats
#ifdef __APPLE__
#include <Cocoa/Cocoa.h>
#endif
diff --git a/clang/test/SemaObjC/compare-qualified-id.m b/clang/test/SemaObjC/compare-qualified-id.m
index 22bec504a55..c9776d0f41c 100644
--- a/clang/test/SemaObjC/compare-qualified-id.m
+++ b/clang/test/SemaObjC/compare-qualified-id.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef signed char BOOL;
typedef unsigned int NSUInteger;
diff --git a/clang/test/SemaObjC/compatible-protocol-qualified-types.m b/clang/test/SemaObjC/compatible-protocol-qualified-types.m
index 71f00542b1c..54d6a04085d 100644
--- a/clang/test/SemaObjC/compatible-protocol-qualified-types.m
+++ b/clang/test/SemaObjC/compatible-protocol-qualified-types.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -pedantic -fsyntax-only -verify %s
+// RUN: clang -cc1 -pedantic -fsyntax-only -verify %s
typedef signed char BOOL;
@class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
diff --git a/clang/test/SemaObjC/comptypes-1.m b/clang/test/SemaObjC/comptypes-1.m
index df0785bf89e..bffbd763ad9 100644
--- a/clang/test/SemaObjC/comptypes-1.m
+++ b/clang/test/SemaObjC/comptypes-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -pedantic %s
+// RUN: clang -cc1 -fsyntax-only -verify -pedantic %s
#define nil (void *)0;
#define Nil (void *)0;
diff --git a/clang/test/SemaObjC/comptypes-2.m b/clang/test/SemaObjC/comptypes-2.m
index c24b67b15ed..a53b942930e 100644
--- a/clang/test/SemaObjC/comptypes-2.m
+++ b/clang/test/SemaObjC/comptypes-2.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
#define nil (void *)0;
#define Nil (void *)0;
diff --git a/clang/test/SemaObjC/comptypes-3.m b/clang/test/SemaObjC/comptypes-3.m
index 0506bce7ad1..2d1b6236e3d 100644
--- a/clang/test/SemaObjC/comptypes-3.m
+++ b/clang/test/SemaObjC/comptypes-3.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
#define nil (void *)0;
diff --git a/clang/test/SemaObjC/comptypes-4.m b/clang/test/SemaObjC/comptypes-4.m
index 598901148a8..794ede25962 100644
--- a/clang/test/SemaObjC/comptypes-4.m
+++ b/clang/test/SemaObjC/comptypes-4.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
extern void foo();
diff --git a/clang/test/SemaObjC/comptypes-5.m b/clang/test/SemaObjC/comptypes-5.m
index 478e8c8114a..4b8f4896851 100644
--- a/clang/test/SemaObjC/comptypes-5.m
+++ b/clang/test/SemaObjC/comptypes-5.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -pedantic -verify %s
+// RUN: clang -cc1 -fsyntax-only -pedantic -verify %s
#define nil (void *)0;
diff --git a/clang/test/SemaObjC/comptypes-6.m b/clang/test/SemaObjC/comptypes-6.m
index 32176755ef7..ad3da26185a 100644
--- a/clang/test/SemaObjC/comptypes-6.m
+++ b/clang/test/SemaObjC/comptypes-6.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -pedantic %s
+// RUN: clang -cc1 -fsyntax-only -verify -pedantic %s
@interface Derived
@end
diff --git a/clang/test/SemaObjC/comptypes-7.m b/clang/test/SemaObjC/comptypes-7.m
index 881fd2b5553..ea1aa06292d 100644
--- a/clang/test/SemaObjC/comptypes-7.m
+++ b/clang/test/SemaObjC/comptypes-7.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -pedantic %s
+// RUN: clang -cc1 -fsyntax-only -verify -pedantic %s
#define nil (void *)0;
#define Nil (void *)0;
diff --git a/clang/test/SemaObjC/comptypes-8.m b/clang/test/SemaObjC/comptypes-8.m
index af9267e499f..b19bc302b22 100644
--- a/clang/test/SemaObjC/comptypes-8.m
+++ b/clang/test/SemaObjC/comptypes-8.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@protocol MyProtocol
@end
diff --git a/clang/test/SemaObjC/comptypes-9.m b/clang/test/SemaObjC/comptypes-9.m
index caa93b49e6f..89647b5b982 100644
--- a/clang/test/SemaObjC/comptypes-9.m
+++ b/clang/test/SemaObjC/comptypes-9.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: clang -cc1 -fsyntax-only %s
// FIXME: This test case tests the patch applied in: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080602/006017.html
// Eventually that logic should be treated as an extension.
diff --git a/clang/test/SemaObjC/comptypes-a.m b/clang/test/SemaObjC/comptypes-a.m
index 5570d56b0b8..4c7967d89c0 100644
--- a/clang/test/SemaObjC/comptypes-a.m
+++ b/clang/test/SemaObjC/comptypes-a.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -pedantic %s
+// RUN: clang -cc1 -fsyntax-only -verify -pedantic %s
typedef signed char BOOL;
typedef int NSInteger;
diff --git a/clang/test/SemaObjC/comptypes-legal.m b/clang/test/SemaObjC/comptypes-legal.m
index cd7f89b61d0..6a837b6aa8f 100644
--- a/clang/test/SemaObjC/comptypes-legal.m
+++ b/clang/test/SemaObjC/comptypes-legal.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -pedantic %s
+// RUN: clang -cc1 -fsyntax-only -verify -pedantic %s
@protocol NSObject
@end
diff --git a/clang/test/SemaObjC/conditional-expr-2.m b/clang/test/SemaObjC/conditional-expr-2.m
index 08758488c54..9835f3ea31c 100644
--- a/clang/test/SemaObjC/conditional-expr-2.m
+++ b/clang/test/SemaObjC/conditional-expr-2.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface A
@end
diff --git a/clang/test/SemaObjC/conditional-expr-3.m b/clang/test/SemaObjC/conditional-expr-3.m
index 9f1ee68c6f9..b7dae6bc48e 100644
--- a/clang/test/SemaObjC/conditional-expr-3.m
+++ b/clang/test/SemaObjC/conditional-expr-3.m
@@ -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/SemaObjC/conditional-expr-4.m b/clang/test/SemaObjC/conditional-expr-4.m
index 87209581534..19215e3c36c 100644
--- a/clang/test/SemaObjC/conditional-expr-4.m
+++ b/clang/test/SemaObjC/conditional-expr-4.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
// <rdar://problem/6212771>
#define nil ((void*) 0)
diff --git a/clang/test/SemaObjC/conditional-expr-5.m b/clang/test/SemaObjC/conditional-expr-5.m
index d9c1a9474fe..74f866be003 100644
--- a/clang/test/SemaObjC/conditional-expr-5.m
+++ b/clang/test/SemaObjC/conditional-expr-5.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface PBXBuildSettingsDictionary
{
diff --git a/clang/test/SemaObjC/conditional-expr-6.m b/clang/test/SemaObjC/conditional-expr-6.m
index bba51bb8178..dcd2f958f23 100644
--- a/clang/test/SemaObjC/conditional-expr-6.m
+++ b/clang/test/SemaObjC/conditional-expr-6.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@protocol MyProtocol @end
diff --git a/clang/test/SemaObjC/conditional-expr.m b/clang/test/SemaObjC/conditional-expr.m
index 2043503ddf7..8fdb2810edd 100644
--- a/clang/test/SemaObjC/conditional-expr.m
+++ b/clang/test/SemaObjC/conditional-expr.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -pedantic %s
+// RUN: clang -cc1 -fsyntax-only -verify -pedantic %s
@protocol NSObject
@end
diff --git a/clang/test/SemaObjC/conflicting-ivar-test-1.m b/clang/test/SemaObjC/conflicting-ivar-test-1.m
index 20ed1572247..acba8e431ab 100644
--- a/clang/test/SemaObjC/conflicting-ivar-test-1.m
+++ b/clang/test/SemaObjC/conflicting-ivar-test-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface INTF
{
diff --git a/clang/test/SemaObjC/continuation-class-err.m b/clang/test/SemaObjC/continuation-class-err.m
index 4559696b7f2..c251d460cdf 100644
--- a/clang/test/SemaObjC/continuation-class-err.m
+++ b/clang/test/SemaObjC/continuation-class-err.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface ReadOnly
{
diff --git a/clang/test/SemaObjC/crash-label.m b/clang/test/SemaObjC/crash-label.m
index ff40cc67c5d..477c9a12c14 100644
--- a/clang/test/SemaObjC/crash-label.m
+++ b/clang/test/SemaObjC/crash-label.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
- (NSDictionary*) _executeScript:(NSString *)source { // expected-error 2 {{expected a type}} \
// expected-error {{missing context for method declaration}}
diff --git a/clang/test/SemaObjC/deref-interface.m b/clang/test/SemaObjC/deref-interface.m
index 57750a5a439..2308677ab82 100644
--- a/clang/test/SemaObjC/deref-interface.m
+++ b/clang/test/SemaObjC/deref-interface.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fobjc-nonfragile-abi -verify -fsyntax-only %s
+// RUN: clang -cc1 -fobjc-nonfragile-abi -verify -fsyntax-only %s
@interface NSView
- (id)initWithView:(id)realView;
diff --git a/clang/test/SemaObjC/duplicate-ivar-check.m b/clang/test/SemaObjC/duplicate-ivar-check.m
index 7cab982e6e2..b4a9df282d4 100644
--- a/clang/test/SemaObjC/duplicate-ivar-check.m
+++ b/clang/test/SemaObjC/duplicate-ivar-check.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface B1 {
@public
diff --git a/clang/test/SemaObjC/enhanced-proto-2.m b/clang/test/SemaObjC/enhanced-proto-2.m
index 0450d7ba9de..a83ef23afd5 100644
--- a/clang/test/SemaObjC/enhanced-proto-2.m
+++ b/clang/test/SemaObjC/enhanced-proto-2.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: clang -cc1 -verify %s
@protocol MyProto1
@optional
diff --git a/clang/test/SemaObjC/error-property-gc-attr.m b/clang/test/SemaObjC/error-property-gc-attr.m
index a44ba4f3768..da742e7f733 100644
--- a/clang/test/SemaObjC/error-property-gc-attr.m
+++ b/clang/test/SemaObjC/error-property-gc-attr.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -fobjc-gc -fsyntax-only -verify %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -fobjc-gc -fsyntax-only -verify %s
@interface INTF
{
diff --git a/clang/test/SemaObjC/exprs.m b/clang/test/SemaObjC/exprs.m
index d51d135fa27..52bd6187708 100644
--- a/clang/test/SemaObjC/exprs.m
+++ b/clang/test/SemaObjC/exprs.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: clang -cc1 %s -fsyntax-only -verify
// rdar://6597252
Class test1(Class X) {
diff --git a/clang/test/SemaObjC/foreach.m b/clang/test/SemaObjC/foreach.m
index 2b62b1744ce..315202f5eba 100644
--- a/clang/test/SemaObjC/foreach.m
+++ b/clang/test/SemaObjC/foreach.m
@@ -1,4 +1,4 @@
-/* RUN: clang-cc -Wall -fsyntax-only -verify -std=c89 -pedantic %s
+/* RUN: clang -cc1 -Wall -fsyntax-only -verify -std=c89 -pedantic %s
*/
@class NSArray;
diff --git a/clang/test/SemaObjC/format-arg-attribute.m b/clang/test/SemaObjC/format-arg-attribute.m
index dc5aa8932cd..7de9e9f139c 100644
--- a/clang/test/SemaObjC/format-arg-attribute.m
+++ b/clang/test/SemaObjC/format-arg-attribute.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify -fsyntax-only %s
+// RUN: clang -cc1 -verify -fsyntax-only %s
@class NSString;
diff --git a/clang/test/SemaObjC/format-strings-objc.m b/clang/test/SemaObjC/format-strings-objc.m
index 4b8490291ad..b0d5b513dc7 100644
--- a/clang/test/SemaObjC/format-strings-objc.m
+++ b/clang/test/SemaObjC/format-strings-objc.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
//===----------------------------------------------------------------------===//
// The following code is reduced using delta-debugging from
diff --git a/clang/test/SemaObjC/forward-class-1.m b/clang/test/SemaObjC/forward-class-1.m
index f5f95056667..e3d2c157d6a 100644
--- a/clang/test/SemaObjC/forward-class-1.m
+++ b/clang/test/SemaObjC/forward-class-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@class FOO, BAR;
@class FOO, BAR;
diff --git a/clang/test/SemaObjC/forward-class-receiver.m b/clang/test/SemaObjC/forward-class-receiver.m
index ebba0fd896d..7f8aec9a39e 100644
--- a/clang/test/SemaObjC/forward-class-receiver.m
+++ b/clang/test/SemaObjC/forward-class-receiver.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface I
+ new; // expected-note {{method 'new' is used for the forward class}}
diff --git a/clang/test/SemaObjC/gcc-cast-ext.m b/clang/test/SemaObjC/gcc-cast-ext.m
index 5d6670e0f67..6b4cbafcf81 100644
--- a/clang/test/SemaObjC/gcc-cast-ext.m
+++ b/clang/test/SemaObjC/gcc-cast-ext.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fms-extensions
+// RUN: clang -cc1 %s -verify -fms-extensions
@class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
typedef struct _NSRange { } NSRange;
diff --git a/clang/test/SemaObjC/id-isa-ref.m b/clang/test/SemaObjC/id-isa-ref.m
index dbb6b2f53d8..c80f0809c53 100644
--- a/clang/test/SemaObjC/id-isa-ref.m
+++ b/clang/test/SemaObjC/id-isa-ref.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef struct objc_object {
struct objc_class *isa;
diff --git a/clang/test/SemaObjC/id.m b/clang/test/SemaObjC/id.m
index 70d981c42b1..aa99cfa6471 100644
--- a/clang/test/SemaObjC/id.m
+++ b/clang/test/SemaObjC/id.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@protocol Foo;
diff --git a/clang/test/SemaObjC/id_builtin.m b/clang/test/SemaObjC/id_builtin.m
index 134753726cb..1ec049b9ff7 100644
--- a/clang/test/SemaObjC/id_builtin.m
+++ b/clang/test/SemaObjC/id_builtin.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: clang -cc1 %s -fsyntax-only -verify
// id is now builtin. There should be no errors.
id obj;
diff --git a/clang/test/SemaObjC/idiomatic-parentheses.m b/clang/test/SemaObjC/idiomatic-parentheses.m
index b4c52fa0d14..ec1d3638410 100644
--- a/clang/test/SemaObjC/idiomatic-parentheses.m
+++ b/clang/test/SemaObjC/idiomatic-parentheses.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
// Don't warn about some common ObjC idioms unless we have -Wparentheses on.
// <rdar://problem/7382435>
diff --git a/clang/test/SemaObjC/ignore-weakimport-method.m b/clang/test/SemaObjC/ignore-weakimport-method.m
index 369d9023acf..f745e443cf1 100644
--- a/clang/test/SemaObjC/ignore-weakimport-method.m
+++ b/clang/test/SemaObjC/ignore-weakimport-method.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface foo
+ (void) cx __attribute__((weak_import));
diff --git a/clang/test/SemaObjC/incompatible-protocol-qualified-types.m b/clang/test/SemaObjC/incompatible-protocol-qualified-types.m
index 862265ca647..624377fbf96 100644
--- a/clang/test/SemaObjC/incompatible-protocol-qualified-types.m
+++ b/clang/test/SemaObjC/incompatible-protocol-qualified-types.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -pedantic -fsyntax-only -verify %s
+// RUN: clang -cc1 -pedantic -fsyntax-only -verify %s
@protocol MyProto1
@end
diff --git a/clang/test/SemaObjC/inst-method-lookup-in-root.m b/clang/test/SemaObjC/inst-method-lookup-in-root.m
index 93f28e69f94..8980d3709e4 100644
--- a/clang/test/SemaObjC/inst-method-lookup-in-root.m
+++ b/clang/test/SemaObjC/inst-method-lookup-in-root.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@protocol P
- (id) inst_in_proto;
diff --git a/clang/test/SemaObjC/interface-1.m b/clang/test/SemaObjC/interface-1.m
index 85a2a91a8c1..98989368487 100644
--- a/clang/test/SemaObjC/interface-1.m
+++ b/clang/test/SemaObjC/interface-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 %s -fsyntax-only -verify
+// RUN: clang -cc1 -triple i386-apple-darwin9 %s -fsyntax-only -verify
// rdar://5957506
@interface NSWhatever :
diff --git a/clang/test/SemaObjC/interface-layout-2.m b/clang/test/SemaObjC/interface-layout-2.m
index ec03a00ca75..cad71428da4 100644
--- a/clang/test/SemaObjC/interface-layout-2.m
+++ b/clang/test/SemaObjC/interface-layout-2.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: clang -cc1 %s -fsyntax-only -verify
@interface A
{
int ivar;
diff --git a/clang/test/SemaObjC/interface-layout.m b/clang/test/SemaObjC/interface-layout.m
index 6ad89155484..b2c6f0d95fc 100644
--- a/clang/test/SemaObjC/interface-layout.m
+++ b/clang/test/SemaObjC/interface-layout.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -triple i386-apple-darwin9
+// RUN: clang -cc1 %s -fsyntax-only -verify -triple i386-apple-darwin9
typedef struct objc_object {} *id;
typedef signed char BOOL;
typedef unsigned int NSUInteger;
diff --git a/clang/test/SemaObjC/interface-scope-2.m b/clang/test/SemaObjC/interface-scope-2.m
index c9025903940..bdf28f46360 100644
--- a/clang/test/SemaObjC/interface-scope-2.m
+++ b/clang/test/SemaObjC/interface-scope-2.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -triple i686-apple-darwin9 %s
+// RUN: clang -cc1 -fsyntax-only -verify -triple i686-apple-darwin9 %s
// FIXME: must also compile as Objective-C++
// <rdar://problem/6487662>
diff --git a/clang/test/SemaObjC/interface-scope.m b/clang/test/SemaObjC/interface-scope.m
index b4dfff683bb..bc80722febf 100644
--- a/clang/test/SemaObjC/interface-scope.m
+++ b/clang/test/SemaObjC/interface-scope.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface I1 {
@private
diff --git a/clang/test/SemaObjC/interface-tu-variable.m b/clang/test/SemaObjC/interface-tu-variable.m
index 9bf816ab69f..b451d363492 100644
--- a/clang/test/SemaObjC/interface-tu-variable.m
+++ b/clang/test/SemaObjC/interface-tu-variable.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface XX
int x; // expected-error {{cannot declare variable inside @interface or @protocol}}
diff --git a/clang/test/SemaObjC/invalid-code.m b/clang/test/SemaObjC/invalid-code.m
index 6eacba05f4a..d0679a3f98c 100644
--- a/clang/test/SemaObjC/invalid-code.m
+++ b/clang/test/SemaObjC/invalid-code.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: clang -cc1 %s -fsyntax-only -verify
// rdar://6124613
void test1() {
diff --git a/clang/test/SemaObjC/invalid-objc-decls-1.m b/clang/test/SemaObjC/invalid-objc-decls-1.m
index 4a3732eff18..b58fa68337b 100644
--- a/clang/test/SemaObjC/invalid-objc-decls-1.m
+++ b/clang/test/SemaObjC/invalid-objc-decls-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface Super @end
Super s1; // expected-error{{interface type cannot be statically allocated}}
diff --git a/clang/test/SemaObjC/invalid-receiver.m b/clang/test/SemaObjC/invalid-receiver.m
index e79df96942c..366f7140085 100644
--- a/clang/test/SemaObjC/invalid-receiver.m
+++ b/clang/test/SemaObjC/invalid-receiver.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef struct NotAClass {
int a, b;
diff --git a/clang/test/SemaObjC/invalid-typename.m b/clang/test/SemaObjC/invalid-typename.m
index 4077f91a9a6..ecc03ba9813 100644
--- a/clang/test/SemaObjC/invalid-typename.m
+++ b/clang/test/SemaObjC/invalid-typename.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@class NSString, NSArray;
diff --git a/clang/test/SemaObjC/ivar-access-package.m b/clang/test/SemaObjC/ivar-access-package.m
index 77a15cca514..077b0cf57c6 100644
--- a/clang/test/SemaObjC/ivar-access-package.m
+++ b/clang/test/SemaObjC/ivar-access-package.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef unsigned char BOOL;
diff --git a/clang/test/SemaObjC/ivar-access-tests.m b/clang/test/SemaObjC/ivar-access-tests.m
index ca3cc4cf1d4..1dc33db5b1e 100644
--- a/clang/test/SemaObjC/ivar-access-tests.m
+++ b/clang/test/SemaObjC/ivar-access-tests.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface MySuperClass
{
diff --git a/clang/test/SemaObjC/ivar-lookup.m b/clang/test/SemaObjC/ivar-lookup.m
index b168976da13..63bf040d636 100644
--- a/clang/test/SemaObjC/ivar-lookup.m
+++ b/clang/test/SemaObjC/ivar-lookup.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: clang -cc1 %s -fsyntax-only -verify
@interface Test {
int x;
diff --git a/clang/test/SemaObjC/ivar-ref-misuse.m b/clang/test/SemaObjC/ivar-ref-misuse.m
index 707e1893bf8..04047533af4 100644
--- a/clang/test/SemaObjC/ivar-ref-misuse.m
+++ b/clang/test/SemaObjC/ivar-ref-misuse.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface Sprite {
int sprite, spree;
diff --git a/clang/test/SemaObjC/ivar-sem-check-1.m b/clang/test/SemaObjC/ivar-sem-check-1.m
index 4e53015b2e9..318f510672c 100644
--- a/clang/test/SemaObjC/ivar-sem-check-1.m
+++ b/clang/test/SemaObjC/ivar-sem-check-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
struct S; // expected-note{{forward declaration of 'struct S'}}
typedef int FOO();
diff --git a/clang/test/SemaObjC/ivar-sem-check-2.m b/clang/test/SemaObjC/ivar-sem-check-2.m
index a5a830d6a3f..242504f0a17 100644
--- a/clang/test/SemaObjC/ivar-sem-check-2.m
+++ b/clang/test/SemaObjC/ivar-sem-check-2.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -fobjc-nonfragile-abi -verify %s
+// RUN: clang -cc1 -fsyntax-only -fobjc-nonfragile-abi -verify %s
@interface Super {
id value2; // expected-note {{previously declared 'value2' here}}
diff --git a/clang/test/SemaObjC/legacy-implementation-1.m b/clang/test/SemaObjC/legacy-implementation-1.m
index 63768ffb50e..e480561693a 100644
--- a/clang/test/SemaObjC/legacy-implementation-1.m
+++ b/clang/test/SemaObjC/legacy-implementation-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@implementation INTF // expected-warning {{cannot find interface declaration for 'INTF'}}
@end
diff --git a/clang/test/SemaObjC/message.m b/clang/test/SemaObjC/message.m
index 02901238f17..244f5d7b74e 100644
--- a/clang/test/SemaObjC/message.m
+++ b/clang/test/SemaObjC/message.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef struct objc_object {
Class isa;
diff --git a/clang/test/SemaObjC/method-arg-decay.m b/clang/test/SemaObjC/method-arg-decay.m
index e81bcdf7b75..09949de3293 100644
--- a/clang/test/SemaObjC/method-arg-decay.m
+++ b/clang/test/SemaObjC/method-arg-decay.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -checker-cfref -verify %s
+// RUN: clang -cc1 -checker-cfref -verify %s
typedef signed char BOOL;
typedef int NSInteger;
typedef unsigned int NSUInteger;
diff --git a/clang/test/SemaObjC/method-arg-qualifier-warning.m b/clang/test/SemaObjC/method-arg-qualifier-warning.m
index c3009f052d5..2d9499f2fdb 100644
--- a/clang/test/SemaObjC/method-arg-qualifier-warning.m
+++ b/clang/test/SemaObjC/method-arg-qualifier-warning.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef signed char BOOL;
diff --git a/clang/test/SemaObjC/method-attributes.m b/clang/test/SemaObjC/method-attributes.m
index c4d4fba25d6..d5f92edee40 100644
--- a/clang/test/SemaObjC/method-attributes.m
+++ b/clang/test/SemaObjC/method-attributes.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify -fsyntax-only %s
+// RUN: clang -cc1 -verify -fsyntax-only %s
@class NSString;
diff --git a/clang/test/SemaObjC/method-bad-param.m b/clang/test/SemaObjC/method-bad-param.m
index f797188669a..8ef7be9d403 100644
--- a/clang/test/SemaObjC/method-bad-param.m
+++ b/clang/test/SemaObjC/method-bad-param.m
@@ -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/SemaObjC/method-conflict.m b/clang/test/SemaObjC/method-conflict.m
index a4213f6c63c..0f7fd61fe16 100644
--- a/clang/test/SemaObjC/method-conflict.m
+++ b/clang/test/SemaObjC/method-conflict.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef signed char BOOL;
typedef unsigned int NSUInteger;
diff --git a/clang/test/SemaObjC/method-def-1.m b/clang/test/SemaObjC/method-def-1.m
index 3eb94b9153d..f98ba896db4 100644
--- a/clang/test/SemaObjC/method-def-1.m
+++ b/clang/test/SemaObjC/method-def-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface foo
- (int)meth;
diff --git a/clang/test/SemaObjC/method-def-2.m b/clang/test/SemaObjC/method-def-2.m
index 84cdd70259f..e595589695e 100644
--- a/clang/test/SemaObjC/method-def-2.m
+++ b/clang/test/SemaObjC/method-def-2.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -ast-print %s
+// RUN: clang -cc1 -ast-print %s
extern void abort(void);
#define CHECK_IF(expr) if(!(expr)) abort()
diff --git a/clang/test/SemaObjC/method-encoding-2.m b/clang/test/SemaObjC/method-encoding-2.m
index b3ffdcd0585..50d2d9250dd 100644
--- a/clang/test/SemaObjC/method-encoding-2.m
+++ b/clang/test/SemaObjC/method-encoding-2.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s
+// RUN: clang -cc1 %s
// TODO: We don't support rewrite of method definitions
@interface Intf
diff --git a/clang/test/SemaObjC/method-lookup-2.m b/clang/test/SemaObjC/method-lookup-2.m
index cca757509ad..5493653f3ec 100644
--- a/clang/test/SemaObjC/method-lookup-2.m
+++ b/clang/test/SemaObjC/method-lookup-2.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef signed char BOOL;
@protocol NSObject
diff --git a/clang/test/SemaObjC/method-lookup-3.m b/clang/test/SemaObjC/method-lookup-3.m
index 8ed583faebc..9e7c4c93abe 100644
--- a/clang/test/SemaObjC/method-lookup-3.m
+++ b/clang/test/SemaObjC/method-lookup-3.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef struct { int y; } Abstract;
diff --git a/clang/test/SemaObjC/method-lookup-4.m b/clang/test/SemaObjC/method-lookup-4.m
index 3b2548b92c1..20b4e60b018 100644
--- a/clang/test/SemaObjC/method-lookup-4.m
+++ b/clang/test/SemaObjC/method-lookup-4.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface NSObject {}
diff --git a/clang/test/SemaObjC/method-lookup.m b/clang/test/SemaObjC/method-lookup.m
index 49dc789af78..b9607eb690c 100644
--- a/clang/test/SemaObjC/method-lookup.m
+++ b/clang/test/SemaObjC/method-lookup.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef signed char BOOL;
typedef int NSInteger;
diff --git a/clang/test/SemaObjC/method-no-context.m b/clang/test/SemaObjC/method-no-context.m
index 9351cb91579..63caa7e399c 100644
--- a/clang/test/SemaObjC/method-no-context.m
+++ b/clang/test/SemaObjC/method-no-context.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
- im0 { int a; return 0; // expected-error{{missing context for method declaration}}
// expected-error{{expected '}'}}
diff --git a/clang/test/SemaObjC/method-not-defined.m b/clang/test/SemaObjC/method-not-defined.m
index 3848fa28c92..37171af2e88 100644
--- a/clang/test/SemaObjC/method-not-defined.m
+++ b/clang/test/SemaObjC/method-not-defined.m
@@ -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/SemaObjC/method-sentinel-attr.m b/clang/test/SemaObjC/method-sentinel-attr.m
index 8f31e9ab5e4..080d6649cc0 100644
--- a/clang/test/SemaObjC/method-sentinel-attr.m
+++ b/clang/test/SemaObjC/method-sentinel-attr.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
#define NULL (void*)0
diff --git a/clang/test/SemaObjC/method-typecheck-1.m b/clang/test/SemaObjC/method-typecheck-1.m
index a53c4d9f416..bd62ded3c41 100644
--- a/clang/test/SemaObjC/method-typecheck-1.m
+++ b/clang/test/SemaObjC/method-typecheck-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface A
- (void) setMoo: (int) x; // expected-note {{previous definition is here}}
diff --git a/clang/test/SemaObjC/method-typecheck-2.m b/clang/test/SemaObjC/method-typecheck-2.m
index d0a091d8561..642893da804 100644
--- a/clang/test/SemaObjC/method-typecheck-2.m
+++ b/clang/test/SemaObjC/method-typecheck-2.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@protocol P
- (void) doSomethingInProtocol: (float) x; // expected-note {{previous definition is here}}
diff --git a/clang/test/SemaObjC/method-undef-category-warn-1.m b/clang/test/SemaObjC/method-undef-category-warn-1.m
index 82fd3c8ba6f..8f5d1ace4c8 100644
--- a/clang/test/SemaObjC/method-undef-category-warn-1.m
+++ b/clang/test/SemaObjC/method-undef-category-warn-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface MyClass1
@end
diff --git a/clang/test/SemaObjC/method-undef-extension-warn-1.m b/clang/test/SemaObjC/method-undef-extension-warn-1.m
index 7ce015f886e..c1efe5a44fd 100644
--- a/clang/test/SemaObjC/method-undef-extension-warn-1.m
+++ b/clang/test/SemaObjC/method-undef-extension-warn-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface MyClass
@end
diff --git a/clang/test/SemaObjC/method-undefined-warn-1.m b/clang/test/SemaObjC/method-undefined-warn-1.m
index fbb01dfb1f7..bbf993f1366 100644
--- a/clang/test/SemaObjC/method-undefined-warn-1.m
+++ b/clang/test/SemaObjC/method-undefined-warn-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface INTF
- (void) meth;
diff --git a/clang/test/SemaObjC/missing-method-context.m b/clang/test/SemaObjC/missing-method-context.m
index 2d0758b1fa8..506cccf512a 100644
--- a/clang/test/SemaObjC/missing-method-context.m
+++ b/clang/test/SemaObjC/missing-method-context.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: clang -cc1 %s -verify -fsyntax-only
- (void)compilerTestAgainst; // expected-error {{missing context for method declaration}}
void xx(); // expected-error {{expected method body}}
diff --git a/clang/test/SemaObjC/newproperty-class-method-1.m b/clang/test/SemaObjC/newproperty-class-method-1.m
index 4946210c8dc..972f0909693 100644
--- a/clang/test/SemaObjC/newproperty-class-method-1.m
+++ b/clang/test/SemaObjC/newproperty-class-method-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: clang -cc1 %s -verify -fsyntax-only
@interface Subclass
+ (int)magicNumber;
diff --git a/clang/test/SemaObjC/no-gc-weak-test.m b/clang/test/SemaObjC/no-gc-weak-test.m
index f494929ce02..498278ec91d 100644
--- a/clang/test/SemaObjC/no-gc-weak-test.m
+++ b/clang/test/SemaObjC/no-gc-weak-test.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -verify %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s
@interface Subtask
{
diff --git a/clang/test/SemaObjC/no-warn-qual-mismatch.m b/clang/test/SemaObjC/no-warn-qual-mismatch.m
index 3bd4dba545f..73b56711e38 100644
--- a/clang/test/SemaObjC/no-warn-qual-mismatch.m
+++ b/clang/test/SemaObjC/no-warn-qual-mismatch.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
// radar 7211563
@interface X
diff --git a/clang/test/SemaObjC/no-warn-synth-protocol-meth.m b/clang/test/SemaObjC/no-warn-synth-protocol-meth.m
index 860a0ca2bef..8c8f33b5605 100644
--- a/clang/test/SemaObjC/no-warn-synth-protocol-meth.m
+++ b/clang/test/SemaObjC/no-warn-synth-protocol-meth.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@protocol CYCdef
- (int)name;
diff --git a/clang/test/SemaObjC/no-warn-unimpl-method.m b/clang/test/SemaObjC/no-warn-unimpl-method.m
index 2fcb06ff5e9..4345914092a 100644
--- a/clang/test/SemaObjC/no-warn-unimpl-method.m
+++ b/clang/test/SemaObjC/no-warn-unimpl-method.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin10 -fsyntax-only -verify %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fsyntax-only -verify %s
// This program tests that if class implements the forwardInvocation method, then
// every method possible is implemented in the class and should not issue
// warning of the "Method definition not found" kind. */
diff --git a/clang/test/SemaObjC/nonnull.m b/clang/test/SemaObjC/nonnull.m
index 869bbbd57e8..e657707790d 100644
--- a/clang/test/SemaObjC/nonnull.m
+++ b/clang/test/SemaObjC/nonnull.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fblocks -fsyntax-only -verify %s
+// RUN: clang -cc1 -fblocks -fsyntax-only -verify %s
@class NSObject;
diff --git a/clang/test/SemaObjC/nsobject-attribute-1.m b/clang/test/SemaObjC/nsobject-attribute-1.m
index d1f673a9fba..6eb5d63db2d 100644
--- a/clang/test/SemaObjC/nsobject-attribute-1.m
+++ b/clang/test/SemaObjC/nsobject-attribute-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fblocks -fsyntax-only -verify %s
+// RUN: clang -cc1 -fblocks -fsyntax-only -verify %s
@interface NSObject
- (id)self;
diff --git a/clang/test/SemaObjC/nsobject-attribute.m b/clang/test/SemaObjC/nsobject-attribute.m
index c47b909846c..896c44a3dc7 100644
--- a/clang/test/SemaObjC/nsobject-attribute.m
+++ b/clang/test/SemaObjC/nsobject-attribute.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef struct CGColor * __attribute__ ((NSObject)) CGColorRef;
static int count;
diff --git a/clang/test/SemaObjC/objc-string-constant.m b/clang/test/SemaObjC/objc-string-constant.m
index c6461dd1c25..46d1242cc5e 100644
--- a/clang/test/SemaObjC/objc-string-constant.m
+++ b/clang/test/SemaObjC/objc-string-constant.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -Wsemicolon-before-method-body %s -verify -fsyntax-only
+// RUN: clang -cc1 -Wsemicolon-before-method-body %s -verify -fsyntax-only
#define nil 0 /* id of Nil instance */
diff --git a/clang/test/SemaObjC/objc2-merge-gc-attribue-decl.m b/clang/test/SemaObjC/objc2-merge-gc-attribue-decl.m
index 0da0ce876d3..c15e10781a3 100644
--- a/clang/test/SemaObjC/objc2-merge-gc-attribue-decl.m
+++ b/clang/test/SemaObjC/objc2-merge-gc-attribue-decl.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -fobjc-gc -fsyntax-only -verify %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -fobjc-gc -fsyntax-only -verify %s
@interface INTF @end
extern INTF* p2;
diff --git a/clang/test/SemaObjC/objc2-warn-weak-decl.m b/clang/test/SemaObjC/objc2-warn-weak-decl.m
index 5de52ba2203..bd59c661330 100644
--- a/clang/test/SemaObjC/objc2-warn-weak-decl.m
+++ b/clang/test/SemaObjC/objc2-warn-weak-decl.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -fobjc-gc -verify %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -fsyntax-only -fobjc-gc -verify %s
struct S {
__weak id p; // expected-warning {{__weak attribute cannot be specified on a field declaration}}
};
diff --git a/clang/test/SemaObjC/property-10.m b/clang/test/SemaObjC/property-10.m
index 81b8ee199cb..cf615bcde7c 100644
--- a/clang/test/SemaObjC/property-10.m
+++ b/clang/test/SemaObjC/property-10.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -Wreadonly-setter-attrs -verify %s -fblocks
+// RUN: clang -cc1 -fsyntax-only -Wreadonly-setter-attrs -verify %s -fblocks
// Check property attribute consistency.
diff --git a/clang/test/SemaObjC/property-11.m b/clang/test/SemaObjC/property-11.m
index bb36c2766e7..c9b35402ae7 100644
--- a/clang/test/SemaObjC/property-11.m
+++ b/clang/test/SemaObjC/property-11.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface NSSound
@end
diff --git a/clang/test/SemaObjC/property-12.m b/clang/test/SemaObjC/property-12.m
index 50fb63bc006..f022dcda438 100644
--- a/clang/test/SemaObjC/property-12.m
+++ b/clang/test/SemaObjC/property-12.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -Wreadonly-setter-attrs -verify %s
+// RUN: clang -cc1 -fsyntax-only -Wreadonly-setter-attrs -verify %s
@protocol P0
@property(readonly,assign) id X; // expected-warning {{property attributes 'readonly' and 'assign' are mutually exclusive}}
diff --git a/clang/test/SemaObjC/property-13.m b/clang/test/SemaObjC/property-13.m
index d0e40dcf86e..23e3714accf 100644
--- a/clang/test/SemaObjC/property-13.m
+++ b/clang/test/SemaObjC/property-13.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface NSObject
+ alloc;
diff --git a/clang/test/SemaObjC/property-2.m b/clang/test/SemaObjC/property-2.m
index 159e06b07af..01fcdb9fa88 100644
--- a/clang/test/SemaObjC/property-2.m
+++ b/clang/test/SemaObjC/property-2.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface Tester
@property char PropertyAtomic_char;
diff --git a/clang/test/SemaObjC/property-3.m b/clang/test/SemaObjC/property-3.m
index a66b3d5e1e1..c79efc823a1 100644
--- a/clang/test/SemaObjC/property-3.m
+++ b/clang/test/SemaObjC/property-3.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: clang -cc1 -verify %s
@interface I
{
diff --git a/clang/test/SemaObjC/property-4.m b/clang/test/SemaObjC/property-4.m
index 56db28274c1..b70514f1ae6 100644
--- a/clang/test/SemaObjC/property-4.m
+++ b/clang/test/SemaObjC/property-4.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: clang -cc1 -verify %s
@interface Object
@end
diff --git a/clang/test/SemaObjC/property-5.m b/clang/test/SemaObjC/property-5.m
index f463aae6291..40b9e67f631 100644
--- a/clang/test/SemaObjC/property-5.m
+++ b/clang/test/SemaObjC/property-5.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: clang -cc1 -verify %s
@protocol P1 @end
@protocol P2 @end
diff --git a/clang/test/SemaObjC/property-6.m b/clang/test/SemaObjC/property-6.m
index 8f77cf1ad21..0253fe889b1 100644
--- a/clang/test/SemaObjC/property-6.m
+++ b/clang/test/SemaObjC/property-6.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
# 1 "<command line>"
# 1 "/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h" 1 3
typedef signed char BOOL;
diff --git a/clang/test/SemaObjC/property-7.m b/clang/test/SemaObjC/property-7.m
index 99c16cef73d..63eb3cf2cb8 100644
--- a/clang/test/SemaObjC/property-7.m
+++ b/clang/test/SemaObjC/property-7.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef signed char BOOL;
typedef struct _NSZone NSZone;
diff --git a/clang/test/SemaObjC/property-8.m b/clang/test/SemaObjC/property-8.m
index 49bd409f27c..82d8c6b0020 100644
--- a/clang/test/SemaObjC/property-8.m
+++ b/clang/test/SemaObjC/property-8.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef signed char BOOL;
typedef unsigned int NSUInteger;
typedef struct _NSZone NSZone;
diff --git a/clang/test/SemaObjC/property-9-impl-method.m b/clang/test/SemaObjC/property-9-impl-method.m
index 06cb30482c8..c7b149717ec 100644
--- a/clang/test/SemaObjC/property-9-impl-method.m
+++ b/clang/test/SemaObjC/property-9-impl-method.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: clang -cc1 %s -fsyntax-only -verify
// rdar://5967199
typedef signed char BOOL;
diff --git a/clang/test/SemaObjC/property-9.m b/clang/test/SemaObjC/property-9.m
index 752f9c09ebf..a3faa4822f3 100644
--- a/clang/test/SemaObjC/property-9.m
+++ b/clang/test/SemaObjC/property-9.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef signed char BOOL;
@protocol NSObject - (BOOL)isEqual:(id)object; @end
diff --git a/clang/test/SemaObjC/property-category-1.m b/clang/test/SemaObjC/property-category-1.m
index fa9d4c8c4bb..d6b580080d4 100644
--- a/clang/test/SemaObjC/property-category-1.m
+++ b/clang/test/SemaObjC/property-category-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface Object
+ (id)new;
diff --git a/clang/test/SemaObjC/property-category-2.m b/clang/test/SemaObjC/property-category-2.m
index c245e36819c..6a3883a35b7 100644
--- a/clang/test/SemaObjC/property-category-2.m
+++ b/clang/test/SemaObjC/property-category-2.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
// Test that a property can be synthesize in a category
// implementation with no error.
diff --git a/clang/test/SemaObjC/property-category-3.m b/clang/test/SemaObjC/property-category-3.m
index bf9e8cbd9d9..de0f302bc5d 100644
--- a/clang/test/SemaObjC/property-category-3.m
+++ b/clang/test/SemaObjC/property-category-3.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@protocol P
@property(readonly) int X;
diff --git a/clang/test/SemaObjC/property-category-4.m b/clang/test/SemaObjC/property-category-4.m
index ee08b09c013..c807f394544 100644
--- a/clang/test/SemaObjC/property-category-4.m
+++ b/clang/test/SemaObjC/property-category-4.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface IDELogNavigator
{
diff --git a/clang/test/SemaObjC/property-error-readonly-assign.m b/clang/test/SemaObjC/property-error-readonly-assign.m
index d5cef78f18f..482ae2cb818 100644
--- a/clang/test/SemaObjC/property-error-readonly-assign.m
+++ b/clang/test/SemaObjC/property-error-readonly-assign.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface A
-(int) x;
diff --git a/clang/test/SemaObjC/property-expression-error.m b/clang/test/SemaObjC/property-expression-error.m
index b648ee939db..f03244dc79f 100644
--- a/clang/test/SemaObjC/property-expression-error.m
+++ b/clang/test/SemaObjC/property-expression-error.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface AddressMyProperties
{
diff --git a/clang/test/SemaObjC/property-impl-misuse.m b/clang/test/SemaObjC/property-impl-misuse.m
index 7b956b5f7b4..5bbc3f19c09 100644
--- a/clang/test/SemaObjC/property-impl-misuse.m
+++ b/clang/test/SemaObjC/property-impl-misuse.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface I {
int Y;
diff --git a/clang/test/SemaObjC/property-inherited.m b/clang/test/SemaObjC/property-inherited.m
index 6c06b90a9f0..67897526224 100644
--- a/clang/test/SemaObjC/property-inherited.m
+++ b/clang/test/SemaObjC/property-inherited.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: clang -cc1 %s -fsyntax-only -verify
// <rdar://problem/6497242> Inherited overridden protocol declared objects don't work
diff --git a/clang/test/SemaObjC/property-ivar-mismatch.m b/clang/test/SemaObjC/property-ivar-mismatch.m
index 75c1e97c4ee..d4f6e1a4f4e 100644
--- a/clang/test/SemaObjC/property-ivar-mismatch.m
+++ b/clang/test/SemaObjC/property-ivar-mismatch.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
// Test that arithmatic types on property and its ivar have exact match.
@interface Test4
diff --git a/clang/test/SemaObjC/property-method-lookup-impl.m b/clang/test/SemaObjC/property-method-lookup-impl.m
index 295bba52400..f85babafbdb 100644
--- a/clang/test/SemaObjC/property-method-lookup-impl.m
+++ b/clang/test/SemaObjC/property-method-lookup-impl.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface SSyncCEList
{
diff --git a/clang/test/SemaObjC/property-missing.m b/clang/test/SemaObjC/property-missing.m
index 301907ad1c7..a74cf6236db 100644
--- a/clang/test/SemaObjC/property-missing.m
+++ b/clang/test/SemaObjC/property-missing.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
// PR3234
diff --git a/clang/test/SemaObjC/property-nonfragile-abi.m b/clang/test/SemaObjC/property-nonfragile-abi.m
index 83520910219..ede9515123c 100644
--- a/clang/test/SemaObjC/property-nonfragile-abi.m
+++ b/clang/test/SemaObjC/property-nonfragile-abi.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -fobjc-nonfragile-abi -verify %s
+// RUN: clang -cc1 -fsyntax-only -fobjc-nonfragile-abi -verify %s
typedef signed char BOOL;
diff --git a/clang/test/SemaObjC/property-noprotocol-warning.m b/clang/test/SemaObjC/property-noprotocol-warning.m
index 95ec15aa1e0..20234a0b2ab 100644
--- a/clang/test/SemaObjC/property-noprotocol-warning.m
+++ b/clang/test/SemaObjC/property-noprotocol-warning.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface Object
diff --git a/clang/test/SemaObjC/property-redundant-decl-accessor.m b/clang/test/SemaObjC/property-redundant-decl-accessor.m
index ffd5129c8e5..84fc8fa3be4 100644
--- a/clang/test/SemaObjC/property-redundant-decl-accessor.m
+++ b/clang/test/SemaObjC/property-redundant-decl-accessor.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -Werror -verify %s
+// RUN: clang -cc1 -fsyntax-only -Werror -verify %s
@interface MyClass {
const char *_myName;
diff --git a/clang/test/SemaObjC/property-typecheck-1.m b/clang/test/SemaObjC/property-typecheck-1.m
index ca8a1393b01..c9562787983 100644
--- a/clang/test/SemaObjC/property-typecheck-1.m
+++ b/clang/test/SemaObjC/property-typecheck-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface A
-(float) x; // expected-note {{declared at}}
diff --git a/clang/test/SemaObjC/property-user-setter.m b/clang/test/SemaObjC/property-user-setter.m
index 9b0380ede88..94458dca6ee 100644
--- a/clang/test/SemaObjC/property-user-setter.m
+++ b/clang/test/SemaObjC/property-user-setter.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface I0
@property(readonly) int x;
diff --git a/clang/test/SemaObjC/property-weak.m b/clang/test/SemaObjC/property-weak.m
index 293432fc828..2e4e1f0044f 100644
--- a/clang/test/SemaObjC/property-weak.m
+++ b/clang/test/SemaObjC/property-weak.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -verify %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s
@interface foo
@property(nonatomic) int foo __attribute__((weak_import));
diff --git a/clang/test/SemaObjC/property.m b/clang/test/SemaObjC/property.m
index cf2624f8204..b2f594fe320 100644
--- a/clang/test/SemaObjC/property.m
+++ b/clang/test/SemaObjC/property.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -verify %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s
@interface I
{
diff --git a/clang/test/SemaObjC/props-on-prots.m b/clang/test/SemaObjC/props-on-prots.m
index 7bee8a0bc31..dd92bfac49c 100644
--- a/clang/test/SemaObjC/props-on-prots.m
+++ b/clang/test/SemaObjC/props-on-prots.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef signed char BOOL;
@class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
diff --git a/clang/test/SemaObjC/protocol-archane.m b/clang/test/SemaObjC/protocol-archane.m
index 05f5103178f..c24e9fb5ed1 100644
--- a/clang/test/SemaObjC/protocol-archane.m
+++ b/clang/test/SemaObjC/protocol-archane.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
// rdar://5986251
@protocol SomeProtocol
diff --git a/clang/test/SemaObjC/protocol-attribute.m b/clang/test/SemaObjC/protocol-attribute.m
index 6bd58dd9a03..1bce37e49d8 100644
--- a/clang/test/SemaObjC/protocol-attribute.m
+++ b/clang/test/SemaObjC/protocol-attribute.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
__attribute ((unavailable))
@protocol FwProto; // expected-note{{marked unavailable}}
diff --git a/clang/test/SemaObjC/protocol-expr-1.m b/clang/test/SemaObjC/protocol-expr-1.m
index cc1c3231d5e..22c0ed0ba4c 100644
--- a/clang/test/SemaObjC/protocol-expr-1.m
+++ b/clang/test/SemaObjC/protocol-expr-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@protocol fproto;
diff --git a/clang/test/SemaObjC/protocol-expr-neg-1.m b/clang/test/SemaObjC/protocol-expr-neg-1.m
index 9393fde3c3c..2928a46bc07 100644
--- a/clang/test/SemaObjC/protocol-expr-neg-1.m
+++ b/clang/test/SemaObjC/protocol-expr-neg-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@class Protocol;
diff --git a/clang/test/SemaObjC/protocol-id-test-1.m b/clang/test/SemaObjC/protocol-id-test-1.m
index 5e737a8fae0..79220ea1a45 100644
--- a/clang/test/SemaObjC/protocol-id-test-1.m
+++ b/clang/test/SemaObjC/protocol-id-test-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: clang -cc1 -verify %s
@interface FF
- (void) Meth;
diff --git a/clang/test/SemaObjC/protocol-id-test-2.m b/clang/test/SemaObjC/protocol-id-test-2.m
index a55923c2105..b8f94a6d757 100644
--- a/clang/test/SemaObjC/protocol-id-test-2.m
+++ b/clang/test/SemaObjC/protocol-id-test-2.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: clang -cc1 -verify %s
@protocol P
@end
diff --git a/clang/test/SemaObjC/protocol-id-test-3.m b/clang/test/SemaObjC/protocol-id-test-3.m
index 3c7f84a181f..54c55cd4845 100644
--- a/clang/test/SemaObjC/protocol-id-test-3.m
+++ b/clang/test/SemaObjC/protocol-id-test-3.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -pedantic -fsyntax-only -verify %s
+// RUN: clang -cc1 -pedantic -fsyntax-only -verify %s
@protocol MyProto1
@end
diff --git a/clang/test/SemaObjC/protocol-implementation-inherited.m b/clang/test/SemaObjC/protocol-implementation-inherited.m
index 55b92ae6684..4fc60fe5c98 100644
--- a/clang/test/SemaObjC/protocol-implementation-inherited.m
+++ b/clang/test/SemaObjC/protocol-implementation-inherited.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@protocol P0
-bar;
diff --git a/clang/test/SemaObjC/protocol-lookup-2.m b/clang/test/SemaObjC/protocol-lookup-2.m
index 64d0c3acf03..744fbee9828 100644
--- a/clang/test/SemaObjC/protocol-lookup-2.m
+++ b/clang/test/SemaObjC/protocol-lookup-2.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface NSObject @end
@protocol ProtocolA
diff --git a/clang/test/SemaObjC/protocol-lookup.m b/clang/test/SemaObjC/protocol-lookup.m
index 87655bd9e7a..b2b354b7782 100644
--- a/clang/test/SemaObjC/protocol-lookup.m
+++ b/clang/test/SemaObjC/protocol-lookup.m
@@ -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/SemaObjC/protocol-qualified-class-unsupported.m b/clang/test/SemaObjC/protocol-qualified-class-unsupported.m
index 6e344c1f441..e4e12d6a39d 100644
--- a/clang/test/SemaObjC/protocol-qualified-class-unsupported.m
+++ b/clang/test/SemaObjC/protocol-qualified-class-unsupported.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
#include <stddef.h>
diff --git a/clang/test/SemaObjC/protocol-typecheck.m b/clang/test/SemaObjC/protocol-typecheck.m
index de66dedda70..e91cdfefb72 100644
--- a/clang/test/SemaObjC/protocol-typecheck.m
+++ b/clang/test/SemaObjC/protocol-typecheck.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface NSObject @end
@protocol XCElementP @end
diff --git a/clang/test/SemaObjC/protocols.m b/clang/test/SemaObjC/protocols.m
index 9fbdc16759d..579feee7b9c 100644
--- a/clang/test/SemaObjC/protocols.m
+++ b/clang/test/SemaObjC/protocols.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface INTF1
@required // expected-error {{directive may only be specified in protocols only}}
diff --git a/clang/test/SemaObjC/rdr-6211479-array-property.m b/clang/test/SemaObjC/rdr-6211479-array-property.m
index 1781c5a4040..a5d177335ce 100644
--- a/clang/test/SemaObjC/rdr-6211479-array-property.m
+++ b/clang/test/SemaObjC/rdr-6211479-array-property.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
// <rdar://problem/6211479>
typedef int T[2];
diff --git a/clang/test/SemaObjC/restrict-id-type.m b/clang/test/SemaObjC/restrict-id-type.m
index d31c88d911f..9bd5612aba3 100644
--- a/clang/test/SemaObjC/restrict-id-type.m
+++ b/clang/test/SemaObjC/restrict-id-type.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -std=gnu99 -fsyntax-only -verify %s
+// RUN: clang -cc1 -std=gnu99 -fsyntax-only -verify %s
void f0(restrict id a0) {}
diff --git a/clang/test/SemaObjC/return.m b/clang/test/SemaObjC/return.m
index ff649947945..743f0f9fca3 100644
--- a/clang/test/SemaObjC/return.m
+++ b/clang/test/SemaObjC/return.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -Wmissing-noreturn
+// RUN: clang -cc1 %s -fsyntax-only -verify -Wmissing-noreturn
int test1() {
id a;
diff --git a/clang/test/SemaObjC/scope-check.m b/clang/test/SemaObjC/scope-check.m
index 0835373ba74..618bcd7bf1e 100644
--- a/clang/test/SemaObjC/scope-check.m
+++ b/clang/test/SemaObjC/scope-check.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@class A, B, C;
diff --git a/clang/test/SemaObjC/selector-1.m b/clang/test/SemaObjC/selector-1.m
index a969b100cc6..7df2bdaeb70 100644
--- a/clang/test/SemaObjC/selector-1.m
+++ b/clang/test/SemaObjC/selector-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: clang -cc1 -verify %s
@interface Lancelot @end
@implementation Lancelot
diff --git a/clang/test/SemaObjC/selector-error.m b/clang/test/SemaObjC/selector-error.m
index cc2a4047264..0df5df0bcc1 100644
--- a/clang/test/SemaObjC/selector-error.m
+++ b/clang/test/SemaObjC/selector-error.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface Foo
- (char*) foo;
diff --git a/clang/test/SemaObjC/selector-overload.m b/clang/test/SemaObjC/selector-overload.m
index 7c30f79ceae..65c907eacde 100644
--- a/clang/test/SemaObjC/selector-overload.m
+++ b/clang/test/SemaObjC/selector-overload.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only
+// RUN: clang -cc1 %s -fsyntax-only
@interface NSObject
+ alloc;
diff --git a/clang/test/SemaObjC/sizeof-interface.m b/clang/test/SemaObjC/sizeof-interface.m
index aeb1b3facb7..cb4195bbd99 100644
--- a/clang/test/SemaObjC/sizeof-interface.m
+++ b/clang/test/SemaObjC/sizeof-interface.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fobjc-nonfragile-abi -verify -fsyntax-only %s
+// RUN: clang -cc1 -fobjc-nonfragile-abi -verify -fsyntax-only %s
@class I0;
diff --git a/clang/test/SemaObjC/static-ivar-ref-1.m b/clang/test/SemaObjC/static-ivar-ref-1.m
index 7e07c7cb99a..5c977580e70 100644
--- a/clang/test/SemaObjC/static-ivar-ref-1.m
+++ b/clang/test/SemaObjC/static-ivar-ref-1.m
@@ -1,5 +1,5 @@
-// RUN: clang-cc -triple i386-unknown-unknown -ast-print %s
-// RUN: clang-cc -triple x86_64-apple-darwin10 -ast-print %s
+// RUN: clang -cc1 -triple i386-unknown-unknown -ast-print %s
+// RUN: clang -cc1 -triple x86_64-apple-darwin10 -ast-print %s
@interface current
{
diff --git a/clang/test/SemaObjC/stmts.m b/clang/test/SemaObjC/stmts.m
index 1d4ea0a7718..1402b288b3e 100644
--- a/clang/test/SemaObjC/stmts.m
+++ b/clang/test/SemaObjC/stmts.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: clang -cc1 %s -verify -fsyntax-only
struct some_struct;
diff --git a/clang/test/SemaObjC/string.m b/clang/test/SemaObjC/string.m
index 3c09c3c0362..077ba7d93e0 100644
--- a/clang/test/SemaObjC/string.m
+++ b/clang/test/SemaObjC/string.m
@@ -1,5 +1,5 @@
-// RUN: clang-cc %s -verify -fsyntax-only
-// RUN: clang-cc %s -verify -fsyntax-only -DDECLAREIT
+// RUN: clang -cc1 %s -verify -fsyntax-only
+// RUN: clang -cc1 %s -verify -fsyntax-only -DDECLAREIT
// a declaration of NSConstantString is not required.
#ifdef DECLAREIT
diff --git a/clang/test/SemaObjC/super-cat-prot.m b/clang/test/SemaObjC/super-cat-prot.m
index 6ddc31fbb9e..a7288bbc3ba 100644
--- a/clang/test/SemaObjC/super-cat-prot.m
+++ b/clang/test/SemaObjC/super-cat-prot.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef signed char BOOL;
typedef unsigned int NSUInteger;
@class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
diff --git a/clang/test/SemaObjC/super-property-message-expr.m b/clang/test/SemaObjC/super-property-message-expr.m
index 082d8bd5b48..15d4db00414 100644
--- a/clang/test/SemaObjC/super-property-message-expr.m
+++ b/clang/test/SemaObjC/super-property-message-expr.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface SStoreNodeInfo
diff --git a/clang/test/SemaObjC/super-property-notation.m b/clang/test/SemaObjC/super-property-notation.m
index 3b0887f26ef..d67bdcb8e6f 100644
--- a/clang/test/SemaObjC/super-property-notation.m
+++ b/clang/test/SemaObjC/super-property-notation.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface B
+(int) classGetter;
diff --git a/clang/test/SemaObjC/super.m b/clang/test/SemaObjC/super.m
index 83842afb9c3..2896968e464 100644
--- a/clang/test/SemaObjC/super.m
+++ b/clang/test/SemaObjC/super.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface Foo
- iMethod;
diff --git a/clang/test/SemaObjC/synchronized.m b/clang/test/SemaObjC/synchronized.m
index 01f82c16862..d1aa101c7dc 100644
--- a/clang/test/SemaObjC/synchronized.m
+++ b/clang/test/SemaObjC/synchronized.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface PBXTrackableTaskManager @end
diff --git a/clang/test/SemaObjC/synthesize-setter-contclass.m b/clang/test/SemaObjC/synthesize-setter-contclass.m
index 78490c8db0d..184c4ead078 100644
--- a/clang/test/SemaObjC/synthesize-setter-contclass.m
+++ b/clang/test/SemaObjC/synthesize-setter-contclass.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface TestClass
{
diff --git a/clang/test/SemaObjC/synthesized-ivar.m b/clang/test/SemaObjC/synthesized-ivar.m
index 305629b43ce..c41884eef71 100644
--- a/clang/test/SemaObjC/synthesized-ivar.m
+++ b/clang/test/SemaObjC/synthesized-ivar.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -fobjc-nonfragile-abi -verify %s
+// RUN: clang -cc1 -fsyntax-only -fobjc-nonfragile-abi -verify %s
@interface I
{
}
diff --git a/clang/test/SemaObjC/try-catch.m b/clang/test/SemaObjC/try-catch.m
index 453d80fd599..fb6182cc76d 100644
--- a/clang/test/SemaObjC/try-catch.m
+++ b/clang/test/SemaObjC/try-catch.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef signed char BOOL;
typedef struct _NSZone NSZone;
diff --git a/clang/test/SemaObjC/typedef-class.m b/clang/test/SemaObjC/typedef-class.m
index 128815602d4..0c48715f19b 100644
--- a/clang/test/SemaObjC/typedef-class.m
+++ b/clang/test/SemaObjC/typedef-class.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef signed char BOOL;
typedef unsigned int NSUInteger;
typedef struct _NSZone NSZone;
diff --git a/clang/test/SemaObjC/ucn-objc-string.m b/clang/test/SemaObjC/ucn-objc-string.m
index 1d94ea2363a..7603199d021 100644
--- a/clang/test/SemaObjC/ucn-objc-string.m
+++ b/clang/test/SemaObjC/ucn-objc-string.m
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only
+// RUN: clang -cc1 %s -verify -fsyntax-only
@class NSString;
extern void NSLog(NSString *format, ...) __attribute__((format(__NSString__, 1, 2)));
diff --git a/clang/test/SemaObjC/undeclared-selector.m b/clang/test/SemaObjC/undeclared-selector.m
index 354c3162c24..6791aaf0f36 100644
--- a/clang/test/SemaObjC/undeclared-selector.m
+++ b/clang/test/SemaObjC/undeclared-selector.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -Wundeclared-selector -verify %s
+// RUN: clang -cc1 -fsyntax-only -Wundeclared-selector -verify %s
typedef struct objc_selector *SEL;
diff --git a/clang/test/SemaObjC/undef-class-messagin-error.m b/clang/test/SemaObjC/undef-class-messagin-error.m
index 114b6ca5f6f..d8e50a0acd2 100644
--- a/clang/test/SemaObjC/undef-class-messagin-error.m
+++ b/clang/test/SemaObjC/undef-class-messagin-error.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface _Child
+ (int) flashCache;
diff --git a/clang/test/SemaObjC/undef-protocol-methods-1.m b/clang/test/SemaObjC/undef-protocol-methods-1.m
index 05245523fb6..066d53218bb 100644
--- a/clang/test/SemaObjC/undef-protocol-methods-1.m
+++ b/clang/test/SemaObjC/undef-protocol-methods-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@protocol P1
- (void) P1proto;
diff --git a/clang/test/SemaObjC/undef-superclass-1.m b/clang/test/SemaObjC/undef-superclass-1.m
index cb15dc39a3d..2deb0b1ae60 100644
--- a/clang/test/SemaObjC/undef-superclass-1.m
+++ b/clang/test/SemaObjC/undef-superclass-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@class SUPER, Y;
diff --git a/clang/test/SemaObjC/undefined-protocol-type-1.m b/clang/test/SemaObjC/undefined-protocol-type-1.m
index 572d55f2685..c2e2abc5bb6 100644
--- a/clang/test/SemaObjC/undefined-protocol-type-1.m
+++ b/clang/test/SemaObjC/undefined-protocol-type-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@protocol p1, p4;
@protocol p2 @end
diff --git a/clang/test/SemaObjC/unused.m b/clang/test/SemaObjC/unused.m
index 4e85894b0a1..f492ac5d378 100644
--- a/clang/test/SemaObjC/unused.m
+++ b/clang/test/SemaObjC/unused.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -Wunused -fsyntax-only
+// RUN: clang -cc1 %s -verify -Wunused -fsyntax-only
int printf(const char *, ...);
diff --git a/clang/test/SemaObjC/va-method-1.m b/clang/test/SemaObjC/va-method-1.m
index 3c8998f983c..424ecab006d 100644
--- a/clang/test/SemaObjC/va-method-1.m
+++ b/clang/test/SemaObjC/va-method-1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
#include <stdarg.h>
diff --git a/clang/test/SemaObjC/warn-assign-property-nscopying.m b/clang/test/SemaObjC/warn-assign-property-nscopying.m
index cf1acc466a2..ecf2c6a00a6 100644
--- a/clang/test/SemaObjC/warn-assign-property-nscopying.m
+++ b/clang/test/SemaObjC/warn-assign-property-nscopying.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fobjc-gc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fobjc-gc -fsyntax-only -verify %s
@protocol NSCopying @end
diff --git a/clang/test/SemaObjC/warn-selector-selection.m b/clang/test/SemaObjC/warn-selector-selection.m
index 4918de77dc7..19c9154a36b 100644
--- a/clang/test/SemaObjC/warn-selector-selection.m
+++ b/clang/test/SemaObjC/warn-selector-selection.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface Object
- (void)foo;
diff --git a/clang/test/SemaObjC/warn-superclass-method-mismatch.m b/clang/test/SemaObjC/warn-superclass-method-mismatch.m
index f123a3f2dda..acca86797e9 100644
--- a/clang/test/SemaObjC/warn-superclass-method-mismatch.m
+++ b/clang/test/SemaObjC/warn-superclass-method-mismatch.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -Wsuper-class-method-mismatch -verify %s
+// RUN: clang -cc1 -fsyntax-only -Wsuper-class-method-mismatch -verify %s
@interface Root
-(void) method_r: (char)ch : (float*)f1 : (int*) x; // expected-note {{previous declaration is here}}
diff --git a/clang/test/SemaObjC/warn-weak-field.m b/clang/test/SemaObjC/warn-weak-field.m
index 3850f217bee..b688a1fea00 100644
--- a/clang/test/SemaObjC/warn-weak-field.m
+++ b/clang/test/SemaObjC/warn-weak-field.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -fobjc-gc -verify %s
+// RUN: clang -cc1 -triple i386-apple-darwin9 -fsyntax-only -fobjc-gc -verify %s
struct S {
__weak id w; // expected-warning {{__weak attribute cannot be specified on a field declaration}}
diff --git a/clang/test/SemaObjC/weak-attr-ivar.m b/clang/test/SemaObjC/weak-attr-ivar.m
index 6af96ddb3c8..84bdb967262 100644
--- a/clang/test/SemaObjC/weak-attr-ivar.m
+++ b/clang/test/SemaObjC/weak-attr-ivar.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
typedef signed char BOOL;
typedef unsigned int NSUInteger;
diff --git a/clang/test/SemaObjC/writable-property-in-superclass.m b/clang/test/SemaObjC/writable-property-in-superclass.m
index 182b1c47bb3..cc9295a9bc0 100644
--- a/clang/test/SemaObjC/writable-property-in-superclass.m
+++ b/clang/test/SemaObjC/writable-property-in-superclass.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface MessageStore
@property (assign, readonly) int P;
OpenPOWER on IntegriCloud