[PATCH] D31179: Objective-C categories should support attributes

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 21 09:42:48 PDT 2017


aaron.ballman added inline comments.


================
Comment at: test/SemaObjC/attr-deprecated.m:124-128
+ at interface A(Blah) // no warning
+- (A*)getA;
 @end
 
+ at implementation A(Blah) // no warning
----------------
I would have assumed the use in the `@implementation` would have been enough to trigger it, is that not the behavior we'd want?

If not, can you extend the test to show that a use of the category triggers the deprecation warning? 


Repository:
  rL LLVM

https://reviews.llvm.org/D31179





More information about the cfe-commits mailing list