[cfe-commits] r46640 - in /cfe/trunk/test: ./ Rewriter/ Sema/
Ted Kremenek
kremenek at apple.com
Fri Feb 1 09:05:55 PST 2008
Author: kremenek
Date: Fri Feb 1 11:05:54 2008
New Revision: 46640
URL: http://llvm.org/viewvc/llvm-project?rev=46640&view=rev
Log:
Moved "Rewriter" tests from test/Sema to test/Rewriter.
Added:
cfe/trunk/test/Rewriter/
cfe/trunk/test/Rewriter/id-test-3.m
- copied unchanged from r46628, cfe/trunk/test/Sema/id-test-3.m
cfe/trunk/test/Rewriter/ivar-encoding-1.m
- copied unchanged from r46628, cfe/trunk/test/Sema/ivar-encoding-1.m
cfe/trunk/test/Rewriter/ivar-encoding-2.m
- copied unchanged from r46628, cfe/trunk/test/Sema/ivar-encoding-2.m
cfe/trunk/test/Rewriter/metadata-test-1.m
- copied unchanged from r46628, cfe/trunk/test/Sema/metadata-test-1.m
cfe/trunk/test/Rewriter/metadata-test-2.m
- copied unchanged from r46628, cfe/trunk/test/Sema/metadata-test-2.m
cfe/trunk/test/Rewriter/method-encoding-1.m
- copied unchanged from r46628, cfe/trunk/test/Sema/method-encoding-1.m
cfe/trunk/test/Rewriter/objc-encoding-bug-1.m
- copied unchanged from r46628, cfe/trunk/test/Sema/objc-encoding-bug-1.m
cfe/trunk/test/Rewriter/objc-ivar-receiver-1.m
- copied unchanged from r46628, cfe/trunk/test/Sema/objc-ivar-receiver-1.m
cfe/trunk/test/Rewriter/objc-string-concat-1.m
- copied unchanged from r46628, cfe/trunk/test/Sema/objc-string-concat-1.m
cfe/trunk/test/Rewriter/objc-super-test.m
- copied unchanged from r46628, cfe/trunk/test/Sema/objc-super-test.m
cfe/trunk/test/Rewriter/objc-synchronized-1.m
- copied unchanged from r46628, cfe/trunk/test/Sema/objc-synchronized-1.m
cfe/trunk/test/Rewriter/protocol-rewrite-1.m
- copied unchanged from r46628, cfe/trunk/test/Sema/protocol-rewrite-1.m
cfe/trunk/test/Rewriter/rewrite-api-bug.m
- copied unchanged from r46628, cfe/trunk/test/Sema/rewrite-api-bug.m
cfe/trunk/test/Rewriter/rewrite-foreach-1.m
- copied unchanged from r46628, cfe/trunk/test/Sema/rewrite-foreach-1.m
cfe/trunk/test/Rewriter/rewrite-foreach-2.m
- copied unchanged from r46628, cfe/trunk/test/Sema/rewrite-foreach-2.m
cfe/trunk/test/Rewriter/rewrite-foreach-3.m
- copied unchanged from r46628, cfe/trunk/test/Sema/rewrite-foreach-3.m
cfe/trunk/test/Rewriter/rewrite-foreach-4.m
- copied unchanged from r46628, cfe/trunk/test/Sema/rewrite-foreach-4.m
cfe/trunk/test/Rewriter/rewrite-foreach-5.m
- copied unchanged from r46628, cfe/trunk/test/Sema/rewrite-foreach-5.m
cfe/trunk/test/Rewriter/rewrite-foreach-6.m
- copied unchanged from r46628, cfe/trunk/test/Sema/rewrite-foreach-6.m
cfe/trunk/test/Rewriter/rewrite-protocol-type-1.m
- copied unchanged from r46628, cfe/trunk/test/Sema/rewrite-protocol-type-1.m
cfe/trunk/test/Rewriter/rewrite-try-catch.m
- copied unchanged from r46628, cfe/trunk/test/Sema/rewrite-try-catch.m
cfe/trunk/test/Rewriter/static-type-protocol-1.m
- copied unchanged from r46628, cfe/trunk/test/Sema/static-type-protocol-1.m
cfe/trunk/test/Rewriter/undecl-objc-h.m
- copied unchanged from r46628, cfe/trunk/test/Sema/undecl-objc-h.m
cfe/trunk/test/Rewriter/undeclared-method-1.m
- copied unchanged from r46628, cfe/trunk/test/Sema/undeclared-method-1.m
cfe/trunk/test/Rewriter/undef-field-reference-1.m
- copied unchanged from r46628, cfe/trunk/test/Sema/undef-field-reference-1.m
cfe/trunk/test/Rewriter/va-method.m
- copied unchanged from r46628, cfe/trunk/test/Sema/va-method.m
Removed:
cfe/trunk/test/Sema/id-test-3.m
cfe/trunk/test/Sema/ivar-encoding-1.m
cfe/trunk/test/Sema/ivar-encoding-2.m
cfe/trunk/test/Sema/metadata-test-1.m
cfe/trunk/test/Sema/metadata-test-2.m
cfe/trunk/test/Sema/method-encoding-1.m
cfe/trunk/test/Sema/objc-encoding-bug-1.m
cfe/trunk/test/Sema/objc-ivar-receiver-1.m
cfe/trunk/test/Sema/objc-string-concat-1.m
cfe/trunk/test/Sema/objc-super-test.m
cfe/trunk/test/Sema/objc-synchronized-1.m
cfe/trunk/test/Sema/protocol-rewrite-1.m
cfe/trunk/test/Sema/rewrite-api-bug.m
cfe/trunk/test/Sema/rewrite-foreach-1.m
cfe/trunk/test/Sema/rewrite-foreach-2.m
cfe/trunk/test/Sema/rewrite-foreach-3.m
cfe/trunk/test/Sema/rewrite-foreach-4.m
cfe/trunk/test/Sema/rewrite-foreach-5.m
cfe/trunk/test/Sema/rewrite-foreach-6.m
cfe/trunk/test/Sema/rewrite-protocol-type-1.m
cfe/trunk/test/Sema/rewrite-try-catch.m
cfe/trunk/test/Sema/static-type-protocol-1.m
cfe/trunk/test/Sema/undecl-objc-h.m
cfe/trunk/test/Sema/undeclared-method-1.m
cfe/trunk/test/Sema/undef-field-reference-1.m
cfe/trunk/test/Sema/va-method.m
Modified:
cfe/trunk/test/Makefile
Modified: cfe/trunk/test/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Makefile?rev=46640&r1=46639&r2=46640&view=diff
==============================================================================
--- cfe/trunk/test/Makefile (original)
+++ cfe/trunk/test/Makefile Fri Feb 1 11:05:54 2008
@@ -3,6 +3,6 @@
all::
PATH=$$PATH:$(ToolDir):$(LLVM_SRC_ROOT)/test/Scripts find\
- CodeGen Lexer Preprocessor Parser Sema Analysis Serialization\
+ Rewriter CodeGen Lexer Preprocessor Parser Sema Analysis Serialization\
\( -name '*.c' -or -name '*.cpp' -or -name '*.m' \)\
-print -exec ./TestRunner.sh {} \;
Removed: cfe/trunk/test/Sema/id-test-3.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/id-test-3.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/id-test-3.m (original)
+++ cfe/trunk/test/Sema/id-test-3.m (removed)
@@ -1,14 +0,0 @@
-// RUN: clang -rewrite-test %s | clang
-
- at protocol P
-- (id<P>) Meth: (id<P>) Arg;
- at end
-
- at interface INTF<P>
-- (id<P>)IMeth;
- at end
-
- at implementation INTF
-- (id<P>)IMeth { return [(id<P>)self Meth: (id<P>)0]; }
-- (id<P>) Meth : (id<P>) Arg {}
- at end
Removed: cfe/trunk/test/Sema/ivar-encoding-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/ivar-encoding-1.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/ivar-encoding-1.m (original)
+++ cfe/trunk/test/Sema/ivar-encoding-1.m (removed)
@@ -1,15 +0,0 @@
-// RUN: clang -rewrite-test %s
-
- at interface Intf
-{
- id ivar;
- id ivar1[12];
-
- id **ivar3;
-
- id (*ivar4) (id, id);
-}
- at end
-
- at implementation Intf
- at end
Removed: cfe/trunk/test/Sema/ivar-encoding-2.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/ivar-encoding-2.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/ivar-encoding-2.m (original)
+++ cfe/trunk/test/Sema/ivar-encoding-2.m (removed)
@@ -1,12 +0,0 @@
-// RUN: clang -rewrite-test %s
-
- at implementation Intf
-{
- id ivar;
- id ivar1[12];
-
- id **ivar3;
-
- id (*ivar4) (id, id);
-}
- at end
Removed: cfe/trunk/test/Sema/metadata-test-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/metadata-test-1.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/metadata-test-1.m (original)
+++ cfe/trunk/test/Sema/metadata-test-1.m (removed)
@@ -1,12 +0,0 @@
-// RUN: clang -rewrite-test %s
-
- at interface Intf
- at end
-
- at implementation Intf(Category)
-- (void) CatMeth {}
- at end
-
- at implementation Another
-- (void) CatMeth {}
- at end
Removed: cfe/trunk/test/Sema/metadata-test-2.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/metadata-test-2.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/metadata-test-2.m (original)
+++ cfe/trunk/test/Sema/metadata-test-2.m (removed)
@@ -1,15 +0,0 @@
-// RUN: clang -rewrite-test %s
-
-typedef struct _NSPoint {
- float x;
- float y;
-} NSPoint;
-
- at interface Intf
-- (void) MyMeth : (NSPoint) Arg1;
- at end
-
- at implementation Intf
-- (void) MyMeth : (NSPoint) Arg1{}
- at end
-
Removed: cfe/trunk/test/Sema/method-encoding-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/method-encoding-1.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/method-encoding-1.m (original)
+++ cfe/trunk/test/Sema/method-encoding-1.m (removed)
@@ -1,18 +0,0 @@
-// RUN: clang -rewrite-test %s
-
- at protocol P1
-- (void) MyProtoMeth : (int **) arg1 : (void*) arg2;
-+ (void) MyProtoMeth : (int **) arg1 : (void*) arg2;
- at end
-
- at interface Intf <P1>
-- (char *) MyMeth : (double) arg1 : (char *[12]) arg2;
-- (id) address:(void *)location with:(unsigned **)arg2;
- at end
-
- at implementation Intf
-- (char *) MyMeth : (double) arg1 : (char *[12]) arg2{}
-- (void) MyProtoMeth : (int **) arg1 : (void*) arg2 {}
-+ (void) MyProtoMeth : (int **) arg1 : (void*) arg2 {}
-- (id) address:(void *)location with:(unsigned **)arg2{}
- at end
Removed: cfe/trunk/test/Sema/objc-encoding-bug-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/objc-encoding-bug-1.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/objc-encoding-bug-1.m (original)
+++ cfe/trunk/test/Sema/objc-encoding-bug-1.m (removed)
@@ -1,19 +0,0 @@
-// RUN: clang -rewrite-test %s | clang
-
-typedef struct NSMethodFrameArgInfo {
- struct NSMethodFrameArgInfo *subInfo;
- struct NSMethodFrameArgInfo *an;
-} NSMethodFrameArgInfo;
-
- at interface NSMethodSignature
-- (NSMethodFrameArgInfo *)_argInfo;
- at end
-
- at implementation NSMethodSignature
-
-- (NSMethodFrameArgInfo *)_argInfo{
- return 0;
-}
-
- at end
-
Removed: cfe/trunk/test/Sema/objc-ivar-receiver-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/objc-ivar-receiver-1.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/objc-ivar-receiver-1.m (original)
+++ cfe/trunk/test/Sema/objc-ivar-receiver-1.m (removed)
@@ -1,23 +0,0 @@
-// RUN: clang -rewrite-test %s | clang
-// RUN: clang -rewrite-test %s | grep 'newInv->_container'
-
- at interface NSMutableArray
-- (void)addObject:(id)addObject;
- at end
-
- at interface NSInvocation {
- at private
- id _container;
-}
-+ (NSInvocation *)invocationWithMethodSignature;
-
- at end
-
- at implementation NSInvocation
-
-+ (NSInvocation *)invocationWithMethodSignature {
- NSInvocation *newInv;
- [newInv->_container addObject:0];
- return 0;
-}
- at end
Removed: cfe/trunk/test/Sema/objc-string-concat-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/objc-string-concat-1.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/objc-string-concat-1.m (original)
+++ cfe/trunk/test/Sema/objc-string-concat-1.m (removed)
@@ -1,14 +0,0 @@
-// RUN: clang -rewrite-test %s
-
- at class NSString;
-
- at interface NSConstantString;
- at end
-
-
-
-NSConstantString *t0 = @"123";
-NSConstantString *t = @"123" @"4567"; // concat
-NSConstantString *t1 = @"123" @"4567" /* COMMENT */ @"89"; // concat
-NSConstantString *t2 = @"123" @/* COMMENT */ "4567"; // concat
-
Removed: cfe/trunk/test/Sema/objc-super-test.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/objc-super-test.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/objc-super-test.m (original)
+++ cfe/trunk/test/Sema/objc-super-test.m (removed)
@@ -1,15 +0,0 @@
-// RUN: clang -rewrite-test %s | clang
-
- at interface SUPER
-- (int) MainMethod;
- at end
-
- at interface MyDerived : SUPER
-- (int) instanceMethod;
- at end
-
- at implementation MyDerived
-- (int) instanceMethod {
- return [super MainMethod];
-}
- at end
Removed: cfe/trunk/test/Sema/objc-synchronized-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/objc-synchronized-1.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/objc-synchronized-1.m (original)
+++ cfe/trunk/test/Sema/objc-synchronized-1.m (removed)
@@ -1,16 +0,0 @@
-// RUN: clang -rewrite-test %s | clang
-
-id SYNCH_EXPR();
-void SYNCH_BODY();
-void SYNCH_BEFORE();
-void SYNC_AFTER();
-
-void foo(id sem)
-{
- SYNCH_BEFORE();
- @synchronized (SYNCH_EXPR()) {
- SYNCH_BODY();
- return;
- }
- SYNC_AFTER();
-}
Removed: cfe/trunk/test/Sema/protocol-rewrite-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/protocol-rewrite-1.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/protocol-rewrite-1.m (original)
+++ cfe/trunk/test/Sema/protocol-rewrite-1.m (removed)
@@ -1,48 +0,0 @@
-// RUN: clang -rewrite-test %s | clang
-
-typedef struct MyWidget {
- int a;
-} MyWidget;
-
-MyWidget gWidget = { 17 };
-
- at protocol MyProto
-- (MyWidget *)widget;
- at end
-
- at interface Foo
- at end
-
- at interface Bar: Foo <MyProto>
- at end
-
- at interface Container
-+ (MyWidget *)elementForView:(Foo *)view;
- at end
-
- at implementation Foo
- at end
-
- at implementation Bar
-- (MyWidget *)widget {
- return &gWidget;
-}
- at end
-
- at implementation Container
-+ (MyWidget *)elementForView:(Foo *)view
-{
- MyWidget *widget = (void*)0;
- if (@protocol(MyProto)) {
- widget = [(id <MyProto>)view widget];
- }
- return widget;
-}
- at end
-
-int main(void) {
- id view;
- MyWidget *w = [Container elementForView: view];
-
- return 0;
-}
Removed: cfe/trunk/test/Sema/rewrite-api-bug.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/rewrite-api-bug.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/rewrite-api-bug.m (original)
+++ cfe/trunk/test/Sema/rewrite-api-bug.m (removed)
@@ -1,11 +0,0 @@
-// RUN: clang -rewrite-test %s
-
- at interface MyDerived
-- (void) instanceMethod;
- at end
-
- at implementation MyDerived
-- (void) instanceMethod {
-}
- at end
-
Removed: cfe/trunk/test/Sema/rewrite-foreach-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/rewrite-foreach-1.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/rewrite-foreach-1.m (original)
+++ cfe/trunk/test/Sema/rewrite-foreach-1.m (removed)
@@ -1,37 +0,0 @@
-// RUN: clang -rewrite-test %s | clang
-
- at protocol P @end
-
- at interface MyList
- at end
-
- at implementation MyList
-- (unsigned int)countByEnumeratingWithState: (struct __objcFastEnumerationState *)state objects: (id *)items count:(unsigned int)stackcount
-{
- return 0;
-}
- at end
-
- at interface MyList (BasicTest)
-- (void)compilerTestAgainst;
- at end
-
-int LOOP();
- at implementation MyList (BasicTest)
-- (void)compilerTestAgainst {
- id el;
- for (el in self)
- { LOOP(); }
- for (id el1 in self)
- LOOP();
-
- for (el in (self))
- if (el)
- LOOP();
-
- for (el in ((self)))
- if (el)
- LOOP();
-}
- at end
-
Removed: cfe/trunk/test/Sema/rewrite-foreach-2.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/rewrite-foreach-2.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/rewrite-foreach-2.m (original)
+++ cfe/trunk/test/Sema/rewrite-foreach-2.m (removed)
@@ -1,34 +0,0 @@
-// RUN: clang -rewrite-test %s | clang
-
- at protocol P @end
-
- at interface MyList
- at end
-
- at implementation MyList
-- (unsigned int)countByEnumeratingWithState: (struct __objcFastEnumerationState *)state objects: (id *)items count:(unsigned int)stackcount
-{
- return 0;
-}
- at end
-
- at interface MyList (BasicTest)
-- (void)compilerTestAgainst;
- at end
-
-int LOOP();
-int INNERLOOP();
-void END_LOOP();
- at implementation MyList (BasicTest)
-- (void)compilerTestAgainst {
- id el;
- for (el in self)
- { LOOP();
- for (id el1 in self)
- INNER_LOOP();
-
- END_LOOP();
- }
-}
- at end
-
Removed: cfe/trunk/test/Sema/rewrite-foreach-3.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/rewrite-foreach-3.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/rewrite-foreach-3.m (original)
+++ cfe/trunk/test/Sema/rewrite-foreach-3.m (removed)
@@ -1,29 +0,0 @@
-// RUN: clang -rewrite-test %s | clang
-
- at protocol P @end
-
- at interface MyList
- at end
-
- at implementation MyList
-- (unsigned int)countByEnumeratingWithState: (struct __objcFastEnumerationState *)state objects: (id *)items count:(unsigned int)stackcount
-{
- return 0;
-}
- at end
-
- at interface MyList (BasicTest)
-- (void)compilerTestAgainst;
- at end
-
-int LOOP();
- at implementation MyList (BasicTest)
-- (void)compilerTestAgainst {
- MyList * el;
- for (el in self)
- { LOOP(); }
- for (MyList * el1 in self)
- LOOP();
-}
- at end
-
Removed: cfe/trunk/test/Sema/rewrite-foreach-4.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/rewrite-foreach-4.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/rewrite-foreach-4.m (original)
+++ cfe/trunk/test/Sema/rewrite-foreach-4.m (removed)
@@ -1,32 +0,0 @@
-// RUN: clang -rewrite-test %s | clang
-
- at interface MyList
-- (id) allKeys;
- at end
-
- at implementation MyList
-- (unsigned int)countByEnumeratingWithState: (struct __objcFastEnumerationState *)state objects: (id *)items count:(unsigned int)stackcount
-{
- return 0;
-}
-- (id) allKeys {}
- at end
-
- at interface MyList (BasicTest)
-- (void)compilerTestAgainst;
- at end
-
-int LOOP();
- at implementation MyList (BasicTest)
-- (void)compilerTestAgainst {
- MyList * el;
- for (el in [el allKeys]) { LOOP();
- }
-
- for (id el1 in[el allKeys]) { LOOP();
- }
- for (el in([el allKeys])) { LOOP();
- }
-}
- at end
-
Removed: cfe/trunk/test/Sema/rewrite-foreach-5.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/rewrite-foreach-5.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/rewrite-foreach-5.m (original)
+++ cfe/trunk/test/Sema/rewrite-foreach-5.m (removed)
@@ -1,47 +0,0 @@
-// RUN: clang -rewrite-test %s | clang
-
- at interface MyList
-- (id) allKeys;
- at end
-
- at implementation MyList
-- (unsigned int)countByEnumeratingWithState: (struct __objcFastEnumerationState *)state objects: (id *)items count:(unsigned int)stackcount
-{
- return 0;
-}
-- (id) allKeys {}
- at end
-
- at interface MyList (BasicTest)
-- (void)compilerTestAgainst;
- at end
-
-int LOOP();
- at implementation MyList (BasicTest)
-- (void)compilerTestAgainst {
- MyList * el;
- int i;
- for (el in [el allKeys]) {
- for (i = 0; i < 10; i++)
- if (i == 5)
- break;
-
- if (el == 0)
- break;
- if (el != self)
- continue;
- LOOP();
- }
-
- for (id el1 in[el allKeys]) {
- LOOP();
- for (el in self) {
- if (el)
- continue;
- }
- if (el1)
- break;
- }
-}
- at end
-
Removed: cfe/trunk/test/Sema/rewrite-foreach-6.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/rewrite-foreach-6.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/rewrite-foreach-6.m (original)
+++ cfe/trunk/test/Sema/rewrite-foreach-6.m (removed)
@@ -1,13 +0,0 @@
-// RUN: clang %s -rewrite-test
-// rdar://5716356
-// FIXME: Should be able to pipe into clang, but code is not
-// yet correct for other reasons: rdar://5716940
-
- at class NSNotification;
- at class NSMutableArray;
-
-void foo(NSMutableArray *notificationArray, id X) {
- for (NSNotification *notification in notificationArray)
- [X postNotification:notification];
-}
-
Removed: cfe/trunk/test/Sema/rewrite-protocol-type-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/rewrite-protocol-type-1.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/rewrite-protocol-type-1.m (original)
+++ cfe/trunk/test/Sema/rewrite-protocol-type-1.m (removed)
@@ -1,24 +0,0 @@
-// RUN: clang -rewrite-test %s | clang
-
- at protocol MyProto1
- at end
-
- at protocol MyProto2
- at end
-
- at interface INTF @end
-
-INTF <MyProto1> *g1;
-
-INTF <MyProto1, MyProto2> *g2, *g3;
-
-INTF <MyProto1> * Func(INTF <MyProto1> *p2, INTF<MyProto1> *p3, INTF *p4, INTF<MyProto1> *p5)
-{
- return p2;
-}
-
-INTF <MyProto1, MyProto2> * Func1(INTF *p2, INTF<MyProto1, MyProto2> *p3, INTF *p4, INTF<MyProto1> *p5)
-{
- return p3;
-}
-
Removed: cfe/trunk/test/Sema/rewrite-try-catch.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/rewrite-try-catch.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/rewrite-try-catch.m (original)
+++ cfe/trunk/test/Sema/rewrite-try-catch.m (removed)
@@ -1,18 +0,0 @@
-// RUN: clang -rewrite-test %s | clang
-
- at interface foo @end
- at interface GARF @end
-
-int main()
-{
-
- at try {
- MYTRY();
-}
-
- at catch (foo* localException) {
- MYCATCH();
- @throw;
-}
-}
-
Removed: cfe/trunk/test/Sema/static-type-protocol-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/static-type-protocol-1.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/static-type-protocol-1.m (original)
+++ cfe/trunk/test/Sema/static-type-protocol-1.m (removed)
@@ -1,27 +0,0 @@
-// RUN: clang -rewrite-test %s
-
- at protocol Proto
-- (void) ProtoDidget;
- at end
-
- at protocol MyProto <Proto>
-- (void) widget;
- at end
-
- at interface Foo
-- (void)StillMode;
- at end
-
- at interface Container
-+ (void)MyMeth;
- at end
-
- at implementation Container
-+ (void)MyMeth
-{
- Foo *view;
- [(Foo <MyProto> *)view StillMode];
- [(Foo <MyProto> *)view widget];
- [(Foo <MyProto> *)view ProtoDidget];
-}
- at end
Removed: cfe/trunk/test/Sema/undecl-objc-h.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/undecl-objc-h.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/undecl-objc-h.m (original)
+++ cfe/trunk/test/Sema/undecl-objc-h.m (removed)
@@ -1,29 +0,0 @@
-// RUN: clang -rewrite-test %s | clang
-
-typedef struct S {
- int * pint;
- int size;
-}NSRec;
-
- at interface SUPER
-- (NSRec) MainMethod : (NSRec) Arg1 : (NSRec) Arg2;
- at end
-
- at interface MyDerived : SUPER
-{
- NSRec d;
-}
-- (int) instanceMethod;
-- (int) another : (int) arg;
-- (NSRec) MainMethod : (NSRec) Arg1 : (NSRec) Arg2;
- at end
-
- at implementation MyDerived
-- (int) instanceMethod {
- return [self another : [self MainMethod : d : d].size];
-}
-
-- (int) another : (int) arg { return arg; }
-- (NSRec) MainMethod : (NSRec) Arg1 : (NSRec) Arg2 { return Arg2; }
- at end
-
Removed: cfe/trunk/test/Sema/undeclared-method-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/undeclared-method-1.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/undeclared-method-1.m (original)
+++ cfe/trunk/test/Sema/undeclared-method-1.m (removed)
@@ -1,9 +0,0 @@
-// RUN: clang -rewrite-test %s
-
- at interface Derived @end
-
-int main(void) {
- Derived *v ;
- [v free];
- return 0;
-}
Removed: cfe/trunk/test/Sema/undef-field-reference-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/undef-field-reference-1.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/undef-field-reference-1.m (original)
+++ cfe/trunk/test/Sema/undef-field-reference-1.m (removed)
@@ -1,15 +0,0 @@
-// RUN: clang -rewrite-test %s | clang
-
- at interface MyDerived
-{
- at public
- int IVAR;
-}
- at end
-
-MyDerived *pd;
-int main() {
- return pd->IVAR;
-}
-
-
Removed: cfe/trunk/test/Sema/va-method.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/va-method.m?rev=46639&view=auto
==============================================================================
--- cfe/trunk/test/Sema/va-method.m (original)
+++ cfe/trunk/test/Sema/va-method.m (removed)
@@ -1,17 +0,0 @@
-// RUN: clang -rewrite-test %s | clang
-
-#include <stdarg.h>
-
- at interface NSObject @end
- at interface XX : NSObject @end
-
- at implementation XX
-- (void)encodeValuesOfObjCTypes:(const char *)types, ... {
- va_list ap;
- va_start(ap, types);
- while (*types) ;
- va_end(ap);
-}
-
- at end
-
More information about the cfe-commits
mailing list