[cfe-commits] r134845 - in /cfe/trunk/test/ARCMT: with-working-dir.m with-working-dir.m.result
Argyrios Kyrtzidis
akyrtzi at gmail.com
Sat Jul 9 13:01:02 PDT 2011
Author: akirtzidis
Date: Sat Jul 9 15:01:02 2011
New Revision: 134845
URL: http://llvm.org/viewvc/llvm-project?rev=134845&view=rev
Log:
[arcmt] Remove test/ARCMT/with-working-dir.m which fails at windows hosts and is not that useful
in the first place. http://llvm.org/PR10312.
Removed:
cfe/trunk/test/ARCMT/with-working-dir.m
cfe/trunk/test/ARCMT/with-working-dir.m.result
Removed: cfe/trunk/test/ARCMT/with-working-dir.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/ARCMT/with-working-dir.m?rev=134844&view=auto
==============================================================================
--- cfe/trunk/test/ARCMT/with-working-dir.m (original)
+++ cfe/trunk/test/ARCMT/with-working-dir.m (removed)
@@ -1,47 +0,0 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fsyntax-only -fobjc-arc -x objective-c %s.result
-// RUN: arcmt-test --args -triple x86_64-apple-macosx10.6 -fobjc-nonfragile-abi -working-directory %S with-working-dir.m > %t
-// RUN: diff %t %s.result
-
-typedef int BOOL;
-id IhaveSideEffect();
-
- at protocol NSObject
-- (BOOL)isEqual:(id)object;
-- (id)retain;
-- (oneway void)release;
-- (id)something;
- at end
-
- at interface NSObject <NSObject> {}
- at end
-
- at interface Foo : NSObject {
- id bar;
-}
- at property (retain) id bar;
--(id)test:(id)obj;
- at end
-
- at implementation Foo
-
- at synthesize bar;
-
--(id)test:(id)obj {
- id x = self.bar;
- [x retain];
- self.bar = obj;
- if (obj)
- [obj retain];
-
- [IhaveSideEffect() retain];
-
- [[self something] retain];
-
- [[self retain] something];
-
- // do stuff with x;
- [x release];
- return [self retain];
-}
-
- at end
Removed: cfe/trunk/test/ARCMT/with-working-dir.m.result
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/ARCMT/with-working-dir.m.result?rev=134844&view=auto
==============================================================================
--- cfe/trunk/test/ARCMT/with-working-dir.m.result (original)
+++ cfe/trunk/test/ARCMT/with-working-dir.m.result (removed)
@@ -1,43 +0,0 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fsyntax-only -fobjc-arc -x objective-c %s.result
-// RUN: arcmt-test --args -triple x86_64-apple-macosx10.6 -fobjc-nonfragile-abi -working-directory %S with-working-dir.m > %t
-// RUN: diff %t %s.result
-
-typedef int BOOL;
-id IhaveSideEffect();
-
- at protocol NSObject
-- (BOOL)isEqual:(id)object;
-- (id)retain;
-- (oneway void)release;
-- (id)something;
- at end
-
- at interface NSObject <NSObject> {}
- at end
-
- at interface Foo : NSObject {
- id bar;
-}
- at property (retain) id bar;
--(id)test:(id)obj;
- at end
-
- at implementation Foo
-
- at synthesize bar;
-
--(id)test:(id)obj {
- id x = self.bar;
- self.bar = obj;
-
- IhaveSideEffect();
-
- [self something];
-
- [self something];
-
- // do stuff with x;
- return self;
-}
-
- at end
More information about the cfe-commits
mailing list