summaryrefslogtreecommitdiffstats
path: root/clang/test/ARCMT/remove-dealloc-zerouts.m
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2011-08-01 22:39:49 +0000
committerFariborz Jahanian <fjahanian@apple.com>2011-08-01 22:39:49 +0000
commite1506cbfda00a5cf257440016f47011912b4f250 (patch)
tree96183998c232c75ecfe6036a3c49a005e1fe8505 /clang/test/ARCMT/remove-dealloc-zerouts.m
parent2bd3af1e893043b0c8658b585a5b5def5ff433b3 (diff)
downloadbcm5719-llvm-e1506cbfda00a5cf257440016f47011912b4f250.tar.gz
bcm5719-llvm-e1506cbfda00a5cf257440016f47011912b4f250.zip
objective-c: reverse patch for // rdar://9818354
llvm-svn: 136658
Diffstat (limited to 'clang/test/ARCMT/remove-dealloc-zerouts.m')
-rw-r--r--clang/test/ARCMT/remove-dealloc-zerouts.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/ARCMT/remove-dealloc-zerouts.m b/clang/test/ARCMT/remove-dealloc-zerouts.m
index 40e99206ffe..3ba85f1edca 100644
--- a/clang/test/ARCMT/remove-dealloc-zerouts.m
+++ b/clang/test/ARCMT/remove-dealloc-zerouts.m
@@ -34,11 +34,11 @@
@end
@implementation Bar
-@synthesize a;
- (void) dealloc {
[self setA:0]; // This is user-defined setter overriding synthesize, don't touch it.
self.a.x = 0; // every dealloc must zero out its own ivar. This patter is not recognized.
}
+@synthesize a;
- (void) setA:(Foo*) val { }
- (id) a {return 0;}
@end
OpenPOWER on IntegriCloud