[cfe-commits] r68895 - /cfe/trunk/test/SemaObjC/protocol-undef.m

Chris Lattner sabre at nondot.org
Sun Apr 12 01:44:48 PDT 2009


Author: lattner
Date: Sun Apr 12 03:44:47 2009
New Revision: 68895

URL: http://llvm.org/viewvc/llvm-project?rev=68895&view=rev
Log:
this test is subsumed by protocol-test-2.m
 

Removed:
    cfe/trunk/test/SemaObjC/protocol-undef.m

Removed: cfe/trunk/test/SemaObjC/protocol-undef.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/protocol-undef.m?rev=68894&view=auto

==============================================================================
--- cfe/trunk/test/SemaObjC/protocol-undef.m (original)
+++ cfe/trunk/test/SemaObjC/protocol-undef.m (removed)
@@ -1,46 +0,0 @@
-// RUN: clang-cc -fsyntax-only -verify %s
-
-typedef signed char BOOL;
- at class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
- at protocol NSObject
-- (BOOL)isEqual:(id)object;
- at end
- at protocol NSCoding
-- (void)encodeWithCoder:(NSCoder *)aCoder;
- at end 
- at interface NSObject <NSObject> {} @end
- at class NSArray, NSAttributedString, NSEvent, NSInputServer, NSImage;
- at interface NSController : NSObject <NSCoding> {} @end
- at class OzzyView;
-typedef struct _OzzyInset {} OzzyInset;
- at protocol OzzyP;
-typedef NSObject <OzzyP> Ozzy;
- at protocol OzzyAnchorP;
-typedef NSObject <OzzyAnchorP> OzzyAnchor;
- at protocol OzzyAnchorDelegateP
-- (BOOL)anchor:(OzzyAnchor *)anchor confirmRepresentedObject:(id)newObject;
- at end
-typedef NSObject <OzzyAnchorDelegateP> OzzyAnchorDelegate;
-
- at protocol OzzyAnchorP <OzzyP>
-  @property(nonatomic,retain) id representedObject;
-  @property(nonatomic,retain) Ozzy * contentGroup;
- at end
- at interface XXX : NSObject <OzzyP> // expected-warning{{cannot find protocol definition for 'OzzyP'}}
- at end
- at protocol OzzyActionDelegateP
-  @optional - (BOOL)elementView:(OzzyView *)elementView shouldDragElement:(Ozzy *)element;
- at end
-typedef NSObject <OzzyActionDelegateP> OzzyActionDelegate;
- at interface OzzyUnit : OzzyAnchorDelegate <OzzyAnchorDelegateP> {}
- at end
- at interface OzzyArrayUnit : OzzyUnit {} @end
- at implementation OzzyArrayUnit
-- (BOOL)willChangeLayoutForObjects:(NSArray *)objects fromObjects:(NSArray *)oldObjects {}
-- (void)_recalculateStoredArraysForAnchor:(OzzyAnchor *)anchor {
-  Ozzy * contentGroup = anchor.contentGroup;
-  if (contentGroup == ((void *)0)) {
-    contentGroup = anchor;
-  }
-}
- at end





More information about the cfe-commits mailing list