[cfe-commits] r61965 - in /cfe/trunk/test: Sema/carbon.c SemaObjC/cocoa.m SemaObjCXX/cocoa.mm
Ted Kremenek
kremenek at apple.com
Thu Jan 8 16:41:48 PST 2009
Author: kremenek
Date: Thu Jan 8 18:41:48 2009
New Revision: 61965
URL: http://llvm.org/viewvc/llvm-project?rev=61965&view=rev
Log:
Re-enable PTH testing for Cocoa.h and Carbon.h (and include testing for Objective-C++).
Modified:
cfe/trunk/test/Sema/carbon.c
cfe/trunk/test/SemaObjC/cocoa.m
cfe/trunk/test/SemaObjCXX/cocoa.mm
Modified: cfe/trunk/test/Sema/carbon.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/carbon.c?rev=61965&r1=61964&r2=61965&view=diff
==============================================================================
--- cfe/trunk/test/Sema/carbon.c (original)
+++ cfe/trunk/test/Sema/carbon.c Thu Jan 8 18:41:48 2009
@@ -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
Modified: cfe/trunk/test/SemaObjC/cocoa.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/cocoa.m?rev=61965&r1=61964&r2=61965&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjC/cocoa.m (original)
+++ cfe/trunk/test/SemaObjC/cocoa.m Thu Jan 8 18:41:48 2009
@@ -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
Modified: cfe/trunk/test/SemaObjCXX/cocoa.mm
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjCXX/cocoa.mm?rev=61965&r1=61964&r2=61965&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjCXX/cocoa.mm (original)
+++ cfe/trunk/test/SemaObjCXX/cocoa.mm Thu Jan 8 18:41:48 2009
@@ -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
-
More information about the cfe-commits
mailing list