Remove remainder of migrated or obsolete tests from FrontendC and remove
authorEric Christopher <echristo@apple.com>
Sat, 20 Aug 2011 01:04:56 +0000 (01:04 +0000)
committerEric Christopher <echristo@apple.com>
Sat, 20 Aug 2011 01:04:56 +0000 (01:04 +0000)
the empty directory.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138181 91177308-0d34-0410-b5e6-96231b3b80d8

test/FrontendObjC/2009-11-30-Objc-ID.m [deleted file]
test/FrontendObjC/2010-02-01-utf16-with-null.m [deleted file]
test/FrontendObjC/2010-02-11-fwritable-stringsBug.m [deleted file]
test/FrontendObjC/2010-02-23-DbgInheritance.m [deleted file]
test/FrontendObjC/2010-03-17-StructRef.m [deleted file]
test/FrontendObjC/2011-03-02-ConstCFStringLiteralAlign.m [deleted file]
test/FrontendObjC/2011-03-08-IVarLookup.m [deleted file]
test/FrontendObjC/dg.exp [deleted file]

diff --git a/test/FrontendObjC/2009-11-30-Objc-ID.m b/test/FrontendObjC/2009-11-30-Objc-ID.m
deleted file mode 100644 (file)
index 787bf72..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-// RUN: %llvmgcc -S -O0 -g %s -o - | \
-// RUN:     llc --disable-fp-elim -o %t.s -O0 
-// RUN: grep id %t.s | grep DW_AT_name
-@interface A
--(id) blah;
-@end
-
-@implementation A
--(id)blah {
-  int i = 1;
-  i++;
-  return i;
-}
-@end
diff --git a/test/FrontendObjC/2010-02-01-utf16-with-null.m b/test/FrontendObjC/2010-02-01-utf16-with-null.m
deleted file mode 100644 (file)
index 86e4637..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-/* RUN: %llvmgcc -w -x objective-c -S %s -o - | not grep {__ustring}
-   rdar://7589850 */
-
-void *P = @"good\0bye";
-
diff --git a/test/FrontendObjC/2010-02-11-fwritable-stringsBug.m b/test/FrontendObjC/2010-02-11-fwritable-stringsBug.m
deleted file mode 100644 (file)
index bb00f6a..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// RUN: %llvmgcc -x objective-c -fwritable-strings -S %s -o - | FileCheck %s
-// CHECK: @.str = private unnamed_addr constant
-// CHECK: @.str1 = internal unnamed_addr global
-
-// rdar://7634471
-
-@class NSString;
-
-@interface A
-- (void)foo:(NSString*)msg;
-- (void)bar:(const char*)msg;
-@end
-
-void func(A *a) {
-  [a foo:@"Hello world!"];
-  [a bar:"Goodbye world!"];
-}
diff --git a/test/FrontendObjC/2010-02-23-DbgInheritance.m b/test/FrontendObjC/2010-02-23-DbgInheritance.m
deleted file mode 100644 (file)
index 7e1cf67..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-// RUN: %llvmgcc %s -S -g -o - | grep -v DW_TAG_member
-// Interface P should not be a member of interface I in debug info.
-@interface P 
-@end
-
-@interface I : P 
-@end
-
-void fn(I *iptr) {}
diff --git a/test/FrontendObjC/2010-03-17-StructRef.m b/test/FrontendObjC/2010-03-17-StructRef.m
deleted file mode 100644 (file)
index 3594684..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-// RUN: %llvmgcc %s -m64 -S -o - | FileCheck %s
-// Bitfield references must not touch memory outside of the enclosing
-// struct.   Radar 7639995
-typedef signed char BOOL;
-@protocol NSObject
-- (id)init;
-@end
-@interface NSObject <NSObject> {}
-@end
-@interface IMAVChatParticipant : NSObject {
-  int _ardRole;
-  int _state;
-  int _avRelayStatus;
-  int _chatEndedReason;
-  int _chatError;
-  unsigned _sendingAudio:1;
-  unsigned _sendingVideo:1;
-  unsigned _sendingAuxVideo:1;
-  unsigned _audioMuted:1;
-  unsigned _videoPaused:1;
-  unsigned _networkStalled:1;
-  unsigned _isInitiator:1;
-  unsigned _isAOLInterop:1;
-  unsigned _isRecording:1;
-  unsigned _isUsingICE:1;
-}
-@end
-@implementation IMAVChatParticipant
-- (id) init {
-  self = [super init];
-  if ( self ) {
-    BOOL blah = (BOOL)1;
-    // We're expecting these three bitfield assignments will generate i8 stores.
-    _sendingAudio = (BOOL)1;
-    _isUsingICE = (BOOL)1;
-    _isUsingICE = blah;
-    // CHECK: store i8
-    // CHECK: store i8
-    // CHECK: store i8
-  }
-  return self;
-}
-@end
diff --git a/test/FrontendObjC/2011-03-02-ConstCFStringLiteralAlign.m b/test/FrontendObjC/2011-03-02-ConstCFStringLiteralAlign.m
deleted file mode 100644 (file)
index a5bd2b7..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-// RUN: %llvmgcc -S -w -m64 -mmacosx-version-min=10.5 %s -o - | \
-// RUN:     llc --disable-fp-elim -o - | FileCheck %s
-// XFAIL: *
-// XTARGET: darwin
-
-@interface Foo
-@end
-Foo *FooName = @"FooBar";
-
-// CHECK:      .section __TEXT,__cstring,cstring_literals
-// CHECK-NEXT: L_.str:
diff --git a/test/FrontendObjC/2011-03-08-IVarLookup.m b/test/FrontendObjC/2011-03-08-IVarLookup.m
deleted file mode 100644 (file)
index 939f2a7..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-// RUN: %llvmgcc -x objective-c -S -fobjc-abi-version=2 %s -o /dev/null
-// XFAIL: *
-// XTARGET: darwin
-
-typedef unsigned int UInt_t;
-
-@interface A
-{
-@protected
-  UInt_t _f1;
-}
-@end
-
-@interface B : A { }
-@end
-
-@interface A ()
-@property (assign) UInt_t f1;
-@end
-
-@interface B ()
-@property (assign) int x;
-@end
-
-@implementation B
-@synthesize x;
-- (id) init
-{
-  _f1 = 0;
-  return self;
-}
-@end
diff --git a/test/FrontendObjC/dg.exp b/test/FrontendObjC/dg.exp
deleted file mode 100644 (file)
index 18f73a7..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-load_lib llvm.exp
-
-if [ llvm_gcc_supports objc ] then {
-    RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{m}]]
-}