[PATCH] D63176: [SemaObjC] Infer availability of stuff declared in categories from the availability of the enclosing category

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 11 17:24:55 PDT 2019


arphaman added inline comments.


================
Comment at: clang/test/SemaObjC/unguarded-availability.m:365
+// FIXME: The pretty-printing for categories sucks.
+ at interface HasCat () // expected-note 3 {{'' has been marked as being introduced in macOS 10.11 here, but the deployment target is macOS 10.9.0}}
+-(void)meth1;
----------------
Can't we just fix it here with a more contextual message? It would be nice to say `enclosing category has been marked...`


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63176/new/

https://reviews.llvm.org/D63176





More information about the cfe-commits mailing list