lolgear added a comment.
Herald added subscribers: llvm-commits, dexonsmith.
Well, deprecated category only shows "Implementing deprecated category" message.
However, I would like to tell users that all methods of this category are
deprecated.
For that I need to add deprecated attribute for each
This revision was automatically updated to reflect the committed changes.
Closed by commit rL298589: Support attributes for Objective-C categories
(authored by arphaman).
Changed prior to commit:
https://reviews.llvm.org/D31179?vs=92454&id=92782#toc
Repository:
rL LLVM
https://reviews.llvm.
arphaman added inline comments.
Comment at: test/SemaObjC/attr-deprecated.m:124-128
+@interface A(Blah) // no warning
+- (A*)getA;
@end
+@implementation A(Blah) // no warning
aaron.ballman wrote:
> I would have assumed the use in the `@implementation` would ha
aaron.ballman added inline comments.
Comment at: test/SemaObjC/attr-deprecated.m:124-128
+@interface A(Blah) // no warning
+- (A*)getA;
@end
+@implementation A(Blah) // no warning
I would have assumed the use in the `@implementation` would have been enough to
nathawes accepted this revision.
nathawes added a comment.
This revision is now accepted and ready to land.
Thanks for this – looks good to me!
Repository:
rL LLVM
https://reviews.llvm.org/D31179
___
cfe-commits mailing list
cfe-commits@lists.llv
arphaman added a comment.
Sorry about an empty body, I had a keyboard malfunction. I have updated the
patch now.
Repository:
rL LLVM
https://reviews.llvm.org/D31179
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cg