aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-01-09 00:41:48 +0000
committerTed Kremenek <kremenek@apple.com>2009-01-09 00:41:48 +0000
commitbe3f7f3fd8f6a2e71ff55039049da9f7db1e44db (patch)
tree3f2316a3cc242180faf9a241da0755bf61aeca24
parent439c65892cc8629bbf541e0b8bda6b64cbcc4e6b (diff)
Re-enable PTH testing for Cocoa.h and Carbon.h (and include testing for Objective-C++).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61965 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Sema/carbon.c3
-rw-r--r--test/SemaObjC/cocoa.m3
-rw-r--r--test/SemaObjCXX/cocoa.mm4
3 files changed, 6 insertions, 4 deletions
diff --git a/test/Sema/carbon.c b/test/Sema/carbon.c
index 9c9c378040..94a707557f 100644
--- a/test/Sema/carbon.c
+++ b/test/Sema/carbon.c
@@ -1,4 +1,5 @@
-// RUN: clang %s -fsyntax-only -print-stats
+// RUN: clang %s -fsyntax-only -print-stats &&
+// RUN: clang -x c-header -o %t %s && clang -token-cache %t %s
#ifdef __APPLE__
#include <Carbon/Carbon.h>
#endif
diff --git a/test/SemaObjC/cocoa.m b/test/SemaObjC/cocoa.m
index 7cb1b5295c..ac7d1dc666 100644
--- a/test/SemaObjC/cocoa.m
+++ b/test/SemaObjC/cocoa.m
@@ -1,4 +1,5 @@
-// RUN: clang %s -print-stats
+// RUN: clang %s -print-stats &&
+// RUN: clang -x objective-c-header -o %t %s && clang -token-cache %t %s
#ifdef __APPLE__
#include <Cocoa/Cocoa.h>
#endif
diff --git a/test/SemaObjCXX/cocoa.mm b/test/SemaObjCXX/cocoa.mm
index 7cb1b5295c..d6cbc04f94 100644
--- a/test/SemaObjCXX/cocoa.mm
+++ b/test/SemaObjCXX/cocoa.mm
@@ -1,5 +1,5 @@
-// RUN: clang %s -print-stats
+// RUN: clang %s -print-stats &&
+// RUN: clang -x objective-c++-header -o %t %s && clang -token-cache %t %s
#ifdef __APPLE__
#include <Cocoa/Cocoa.h>
#endif
-