diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2011-07-22 01:06:53 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-07-22 01:06:53 +0000 |
commit | 527eec86ce96695a7198073e574bf4a184848d24 (patch) | |
tree | 6e5e1cadc7018513d5aab0263a9e1d53a81a5ea1 /test/SemaObjC/default-synthesize.m | |
parent | 393f249399fe30e9580e1529a7479489e90f3a57 (diff) |
objective-c: Any use of @synthesize or @dynamic lexically after a method (or C function) implementation
will be rejected with a compilation error in ARC mode, and a compiler warning otherwise.
This may cause breakage in non-arc (and arc) tests which don't expect warning/error. Feel free
to fix the tests, or reverse the patch, if I am unavailable. // rdar://9818354 - WIP
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135740 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaObjC/default-synthesize.m')
-rw-r--r-- | test/SemaObjC/default-synthesize.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjC/default-synthesize.m b/test/SemaObjC/default-synthesize.m index 33e3bd6f34..0f9b96aeae 100644 --- a/test/SemaObjC/default-synthesize.m +++ b/test/SemaObjC/default-synthesize.m @@ -111,7 +111,7 @@ @end @implementation D -- (int) Meth { return self.PROP; } @synthesize PROP=IVAR; +- (int) Meth { return self.PROP; } @end |