[llvm-commits] [llvm] r54471 - in /llvm/trunk/test: FrontendObjC++/ FrontendObjC++/2007-10-03-MetadataPointers.mm FrontendObjC++/dg.exp FrontendObjC/2007-10-03-MetadataPointers.mm FrontendObjC/dg.exp
Duncan Sands
baldrick at free.fr
Thu Aug 7 10:48:12 PDT 2008
Author: baldrick
Date: Thu Aug 7 12:48:08 2008
New Revision: 54471
URL: http://llvm.org/viewvc/llvm-project?rev=54471&view=rev
Log:
Move tests of the ObjC++ front-end to their own
directory: some people (guess who!) may build llvm-gcc
with support for objc but not with support for objc++.
Added:
llvm/trunk/test/FrontendObjC++/
llvm/trunk/test/FrontendObjC++/2007-10-03-MetadataPointers.mm (props changed)
- copied unchanged from r54462, llvm/trunk/test/FrontendObjC/2007-10-03-MetadataPointers.mm
llvm/trunk/test/FrontendObjC++/dg.exp
Removed:
llvm/trunk/test/FrontendObjC/2007-10-03-MetadataPointers.mm
Modified:
llvm/trunk/test/FrontendObjC/dg.exp
Propchange: llvm/trunk/test/FrontendObjC++/2007-10-03-MetadataPointers.mm
------------------------------------------------------------------------------
svn:mergeinfo =
Added: llvm/trunk/test/FrontendObjC++/dg.exp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC%2B%2B/dg.exp?rev=54471&view=auto
==============================================================================
--- llvm/trunk/test/FrontendObjC++/dg.exp (added)
+++ llvm/trunk/test/FrontendObjC++/dg.exp Thu Aug 7 12:48:08 2008
@@ -0,0 +1,5 @@
+load_lib llvm.exp
+
+if [ llvm_gcc_supports objc++ ] then {
+ RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{mm}]]
+}
Removed: llvm/trunk/test/FrontendObjC/2007-10-03-MetadataPointers.mm
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC/2007-10-03-MetadataPointers.mm?rev=54470&view=auto
==============================================================================
--- llvm/trunk/test/FrontendObjC/2007-10-03-MetadataPointers.mm (original)
+++ llvm/trunk/test/FrontendObjC/2007-10-03-MetadataPointers.mm (removed)
@@ -1,7 +0,0 @@
-// RUN: %llvmgcc -w -x objective-c++ -c %s -o /dev/null
-
- at class NSImage;
-void bork() {
- NSImage *nsimage;
- [nsimage release];
-}
Modified: llvm/trunk/test/FrontendObjC/dg.exp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC/dg.exp?rev=54471&r1=54470&r2=54471&view=diff
==============================================================================
--- llvm/trunk/test/FrontendObjC/dg.exp (original)
+++ llvm/trunk/test/FrontendObjC/dg.exp Thu Aug 7 12:48:08 2008
@@ -2,6 +2,4 @@
if [ llvm_gcc_supports objc ] then {
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{m}]]
- RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{mm}]]
}
-
More information about the llvm-commits
mailing list