summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-12-14 18:00:56 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-12-14 18:00:56 +0000
commita01b67d7b0a9a1e28b1e9c0100d21b88207f663d (patch)
treef27a74b9f6cdaa6e60ff14368622c991ff4db3b5 /clang/test/Preprocessor
parent8165f02e8c8f3dc3bdf7ebe90cb8ebf8c4347aad (diff)
downloadbcm5719-llvm-a01b67d7b0a9a1e28b1e9c0100d21b88207f663d.tar.gz
bcm5719-llvm-a01b67d7b0a9a1e28b1e9c0100d21b88207f663d.zip
Make tests use the new clang -cc1 flag.
llvm-svn: 91303
Diffstat (limited to 'clang/test/Preprocessor')
-rw-r--r--clang/test/Preprocessor/non_fragile_feature.m2
-rw-r--r--clang/test/Preprocessor/non_fragile_feature1.m2
-rw-r--r--clang/test/Preprocessor/objc-pp.m2
3 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Preprocessor/non_fragile_feature.m b/clang/test/Preprocessor/non_fragile_feature.m
index cb6bc012f1c..dbf1f9a797e 100644
--- a/clang/test/Preprocessor/non_fragile_feature.m
+++ b/clang/test/Preprocessor/non_fragile_feature.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fobjc-nonfragile-abi %s
+// RUN: clang -cc1 -fobjc-nonfragile-abi %s
#ifndef __has_feature
#error Should have __has_feature
#endif
diff --git a/clang/test/Preprocessor/non_fragile_feature1.m b/clang/test/Preprocessor/non_fragile_feature1.m
index 59f665b5464..5943e01b517 100644
--- a/clang/test/Preprocessor/non_fragile_feature1.m
+++ b/clang/test/Preprocessor/non_fragile_feature1.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown %s
+// RUN: clang -cc1 -triple i386-unknown-unknown %s
#ifndef __has_feature
#error Should have __has_feature
#endif
diff --git a/clang/test/Preprocessor/objc-pp.m b/clang/test/Preprocessor/objc-pp.m
index 977789e38f1..9f375efec2c 100644
--- a/clang/test/Preprocessor/objc-pp.m
+++ b/clang/test/Preprocessor/objc-pp.m
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -pedantic
+// RUN: clang -cc1 %s -fsyntax-only -verify -pedantic
#import <stdint.h> // no warning on #import in objc mode.
OpenPOWER on IntegriCloud